Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2294C9CB0 for ; Fri, 8 Mar 2013 01:04:30 +0000 (UTC) Received: (qmail 71874 invoked by uid 500); 8 Mar 2013 01:04:26 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 71793 invoked by uid 500); 8 Mar 2013 01:04:26 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 71783 invoked by uid 99); 8 Mar 2013 01:04:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 01:04:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.160.52] (HELO mail-pb0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Mar 2013 01:04:20 +0000 Received: by mail-pb0-f52.google.com with SMTP id ma3so773480pbc.11 for ; Thu, 07 Mar 2013 17:03:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:to:subject:in-reply-to:message-id:references :user-agent:mime-version:content-type:x-gm-message-state; bh=WuaafAgglQfy1qKINzlAp3atUZFKQZ5uii+PpSwIE9w=; b=QWYxOto7eYgcowcSYgmZLvQugYhgBYtml2Z5F14H2upM/gKN71xAkiKdCZMlObpipu InVsNfwtC1ywkbmR8XZKXGq9i8BiAAcNXV2s5Rc2bCR3chit7yvoN+biISojygPAg58A uVyj/2ai474pggtBtQTZ+AT7LKNep1ARDxaoS6JbSGxoaAFXmfNNv4dbpU6e+8WYazSb vZovzIVQxGhFoQoO9yTeaitez9EcyMPnJUe7+plWjdX4sbgF6IyT62U+spxbGIMBbGPb ev5KYtNiO25/UyteNY1k1/xU0BLQCyRZwQNyFrsWBQEW0/NVpbR9mabkukjBFJIQBRbv +88A== X-Received: by 10.68.245.229 with SMTP id xr5mr427793pbc.163.1362704639356; Thu, 07 Mar 2013 17:03:59 -0800 (PST) Received: from frisbee.local (250.185-62-69.ftth.swbr.surewest.net. [69.62.185.250]) by mx.google.com with ESMTPS id pn9sm3451966pbb.22.2013.03.07.17.03.57 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Mar 2013 17:03:58 -0800 (PST) Date: Thu, 7 Mar 2013 17:03:54 -0800 (PST) From: Chris Hostetter To: solr-user@lucene.apache.org Subject: Re: Any documentation on Solr MBeans? In-Reply-To: Message-ID: References: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Gm-Message-State: ALoCoQm9I5+RRc0fs6cPiRs18jcH4PRkazl0WGrH97DxeY5EOSRrR+QgAI8LmULbJ05ZEBwtWntA X-Virus-Checked: Checked by ClamAV on apache.org : I'm trying to monitor some Solr behaviour, using JMX. : It looks like a great job was done there, but I can't find any : documentation on the MBeans themselves. In general, the stats exposed by the various MBeans are going to largely depend on the underlying plugin classes -- in most cases they are hopefully self explaining, but in cases where they aren't, your best bet is to skim the code. : For example, DirectUpdateHandler2 attributes. What is the difference : between "adds" and "cumulative_adds"? Is "adds" count the last X seconds : only? or maybe "cumulative_adds" survives a core reload? as mark mentioned, i don't think any stats survive a core reload, because almost everything implementing MBean is created/destroyed along with the core. In the specific case of DirectUpdateHandler2, the "cumulative_* stats refer to the total number for hte life of the DUH2 instance, which the non cumlative stats are reset on commit. -Hoss