Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F3C98200BCB for ; Thu, 24 Nov 2016 20:29:25 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id F1AD2160B1E; Thu, 24 Nov 2016 19:29:25 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6CB27160AFB for ; Thu, 24 Nov 2016 20:29:25 +0100 (CET) Received: (qmail 91709 invoked by uid 500); 24 Nov 2016 19:29:23 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 91698 invoked by uid 99); 24 Nov 2016 19:29:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2016 19:29:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AD8241AAEEE for ; Thu, 24 Nov 2016 19:29:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.551 X-Spam-Level: *** X-Spam-Status: No, score=3.551 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313, URI_TRY_3LD=0.065] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id bgzsT0AerAtM for ; Thu, 24 Nov 2016 19:29:20 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id D88105F3F4 for ; Thu, 24 Nov 2016 19:29:19 +0000 (UTC) Received: from mjoe.nabble.com (unknown [162.253.133.57]) by mwork.nabble.com (Postfix) with ESMTP id A1279706B8DF4 for ; Thu, 24 Nov 2016 12:29:18 -0700 (MST) Date: Thu, 24 Nov 2016 11:17:13 -0800 (PST) From: rth To: users@activemq.apache.org Message-ID: <1480015033971-4719483.post@n4.nabble.com> Subject: Statistics plugin is reporting averageMessageSize as 0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Thu, 24 Nov 2016 19:29:26 -0000 I'm using ActiveMQ 5.13.2 with the statistics plugin. On our working system, JMX is showing what I would expect to be the correct average message size on our topics and queues, but the statistics plugin is reporting 0. At first I thought I must have simply done something stupid when formatting output in my tool that reports statistics, but the debugger shows that in the MapMessage response the value of averageMessageSize is a Long object with value 0. Am I doing something wrong or is this a defect in the plugin? -- View this message in context: http://activemq.2283324.n4.nabble.com/Statistics-plugin-is-reporting-averageMessageSize-as-0-tp4719483.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.