You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by bintisepaha <bi...@tudor.com> on 2017/02/16 18:41:55 UTC
Re: Monitoring Cache - Data counters, Cache Data Size
Is there any plan to expose cluster wise metrics on JMX?
for e.g. for a distributed cache, I would like to know the Size for all
nodes combined via JMX.
Thanks,
Binti
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Monitoring-Cache-Data-counters-Cache-Data-Size-tp3203p10684.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Monitoring Cache - Data counters, Cache Data Size
Posted by dkarachentsev <dk...@gridgain.com>.
Hi Binti,
First of all, cache metrics must be enabled with
CacheConfiguration.setStatisticsEnabled(true). But size and keySize show
local values anyway, that looks like a bug. I've filed a ticket for that
[1]. If you want, feel free to contribute.
[1] https://issues.apache.org/jira/browse/IGNITE-4867
-Dmitry.
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Monitoring-Cache-Data-counters-Cache-Data-Size-tp3203p11465.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Monitoring Cache - Data counters, Cache Data Size
Posted by bintisepaha <bi...@tudor.com>.
Hi Val,
I saw that MBean, but it reports the same number as the Local MBean. and if
I go on each node, the CacheCluster and CacheLocal Cache size matches. I do
not see a sum total across all nodes.
Thanks,
Binti
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Monitoring-Cache-Data-counters-Cache-Data-Size-tp3203p10780.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Monitoring Cache - Data counters, Cache Data Size
Posted by vkulichenko <va...@gmail.com>.
Binti,
These metrics are exposed via CacheClusterMetricsMXBeanImpl.
-Val
--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Monitoring-Cache-Data-counters-Cache-Data-Size-tp3203p10775.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.