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 899B0200D42 for ; Fri, 17 Nov 2017 23:17:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 88135160BFB; Fri, 17 Nov 2017 22:17:41 +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 090DA160BE6 for ; Fri, 17 Nov 2017 23:17:40 +0100 (CET) Received: (qmail 62738 invoked by uid 500); 17 Nov 2017 22:17:40 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 62729 invoked by uid 99); 17 Nov 2017 22:17:40 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2017 22:17:40 +0000 Received: from [192.168.75.66] (c-67-160-238-197.hsd1.ca.comcast.net [67.160.238.197]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 75CBA1A0048 for ; Fri, 17 Nov 2017 22:17:39 +0000 (UTC) From: Denis Magda Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always return 0 Date: Fri, 17 Nov 2017 14:17:38 -0800 References: <1509752622826-0.post@n6.nabble.com> <1510045626020-0.post@n6.nabble.com> <1510130973086-0.post@n6.nabble.com> <09B3B3A2-A3D6-4AEF-8F26-011CC97B552F@apache.org> <1510417719284-0.post@n6.nabble.com> To: user@ignite.apache.org In-Reply-To: <1510417719284-0.post@n6.nabble.com> Message-Id: X-Mailer: Apple Mail (2.3273) archived-at: Fri, 17 Nov 2017 22:17:41 -0000 See an example I put together for you: https://github.com/dmagda/IgniteMetricsExampe/tree/master Most likely you=E2=80=99re missing something in your configuration. =E2=80=94 Denis > On Nov 11, 2017, at 8:28 AM, headstar = wrote: >=20 > Hi, >=20 > "Set CacheConfiguration.setStatisticsEnabled(boolean) to true for = every > cache you want to collect the metrics for." >=20 > I've done that (see post from Nov 7). >=20 > "Pass a particular EventStorageSpi interface implementation into > IgniteConfiguration.setEventStorageSpi(...) method. You can use > MemoryEventStorageSpi provided out-of-the-box ." >=20 > Was hoping to get the metrics exposed via JMX to work. >=20 > Regards, > Per >=20 >=20 >=20 > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/