Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always return 0

2017-11-20 Thread headstar
Thanks for the example! Works fine when running IgniteMetricsExample#main
with the provided conf.

One difference to "my" configuration was that I was running the node
accessing the cache in client mode. 

If I start a node with the configuration provided in your example and then
run IgniteMetricsExample#main in client mode the statistics are 0. 







--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always return 0

2017-11-11 Thread headstar
Hi,

"Set CacheConfiguration.setStatisticsEnabled(boolean) to true for every
cache you want to collect the metrics for."

I've done that (see post from Nov 7).

"Pass a particular EventStorageSpi interface implementation into
IgniteConfiguration.setEventStorageSpi(...) method. You can use
MemoryEventStorageSpi provided out-of-the-box ."

Was hoping to get the metrics exposed via JMX to work.

Regards,
Per



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always return 0

2017-11-08 Thread headstar
Hi,

Changed to 2.3.0 and added











AverageGetTime/AveragePutTime still 0.

Per



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/