Return-Path: X-Original-To: apmail-jackrabbit-users-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B57F410716 for ; Wed, 27 Nov 2013 13:38:14 +0000 (UTC) Received: (qmail 38053 invoked by uid 500); 27 Nov 2013 13:38:12 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 38005 invoked by uid 500); 27 Nov 2013 13:38:09 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 37978 invoked by uid 99); 27 Nov 2013 13:38:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2013 13:38:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jukka.zitting@gmail.com designates 209.85.219.41 as permitted sender) Received: from [209.85.219.41] (HELO mail-oa0-f41.google.com) (209.85.219.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2013 13:37:59 +0000 Received: by mail-oa0-f41.google.com with SMTP id j17so7646586oag.14 for ; Wed, 27 Nov 2013 05:37:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=RKSVjmNsvXzW2IdFwLwwlQUQU7+X8dBtZjGbYTt2hTg=; b=syPF0/M5o5U6OhViDwIYxhn4yOQBUeNeMkltnyROW+nXBZhdNnVcC/2Nexe8rRrL+k 3sAfizwd0+ZyQ60Rnna2ELDzclH6Pzb7SV3j5H7nUDaioSzmL7cxDKKTwWEoQbyzfKgl Pdw6RBrdFvO+Mjsl0ptKPpRwaL/LVh7hOfDIFKZ8YtizGW19KUX96XD5jhXsCgc8vzOQ zmC6qinQjAc32Z9Hvi5e6m5b6p1wjEz0xv5b7mq0BmAKSJEulEqq86Nw5T9sV7G3udp0 GYAVqzHdz8ilwbiZ1UyKClnvVWdVAzGJMIv2SHUNeFDX14B2SQS/wxOrlkLWwjMJ/85x FH3A== X-Received: by 10.60.98.37 with SMTP id ef5mr33788641oeb.31.1385559458939; Wed, 27 Nov 2013 05:37:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.153.198 with HTTP; Wed, 27 Nov 2013 05:37:18 -0800 (PST) In-Reply-To: References: From: Jukka Zitting Date: Wed, 27 Nov 2013 08:37:18 -0500 Message-ID: Subject: Re: [JCR2.x] JMX and timeseries entries To: Jackrabbit Users Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Wed, Nov 27, 2013 at 12:47 AM, J=F6rg Hoh wrote= : > I have a question to the reasoning behind the timeseries entries availabl= e > in Jackrabbit for a number of relevant operational parameters, which are > suitable to monitor. > > Basically I don't see a reason, why you would have time entries instead o= f > just a single ever-increasing value. Any monitoring system is capable to > handle these and calculate the delta between the current value and the la= st > one. Even the most simple RRD tool can do that. We often see cases where a deployment doesn't come with a pre-configured monitoring system, which makes it difficult or impossible to investigate past performance of the system. The TimeSeries mechanism makes it possible to get an overview of the measured variables since the last restart of a repository for up to three years, which in many cases is quite useful and would be impossible to get with a just plain counter. > I don't see a real good usecase to have timeseries entries and would like > to have the raw data (as 64bit longs) as I am much more flexible then. It's still possible for you to sample the value from the array returned by getValuePerSecond(). Alternatively, if you want to poll at finer than per-second granularity, you could submit a patch that exposes the internal counter variable of the TimeSeriesRecorded class. BR, Jukka Zitting