You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "Premachandran, Mahesh (Nokia - IN/Bangalore)" <ma...@nokia.com> on 2018/09/19 09:49:29 UTC

Ignite Cache metrics on K8s

Hi,

I am trying to fetch some cache metrics from Ignite 2.5 running on k8s. Enabled the cache level metrics by setting the below property in ignite config xml for specific cache.
<property name="statisticsEnabled" value="true"/>

But both "ignite_org_apache_ignite_internal_processors_cache_cacheclustermetricsmxbeanimpl_cacheputs" and "ignite_org_apache_ignite_internal_processors_cache_cachelocalmetricsmxbeanimpl_averageputtime" value is coming as 0 while am able to get values for "ignite_org_apache_ignite_internal_processors_cache_cacheclustermetricsmxbeanimpl_keysize"

Are there any other property that I need to set to get these metrics? I am injecting data using IgniteDataStreamer.

Regards,
Mahesh



Re: Ignite Cache metrics on K8s

Posted by "Maxim.Pudov" <pu...@gmail.com>.
Try to call CacheMetricsMXBean.enableMetrics(). 
See also
https://apacheignite.readme.io/docs/cache-metrics#section-using-jmx-bean



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