Eventually I could reproduce your issue: https://issues.apache.org/jira/browse/IGNITE-6966 <https://issues.apache.org/jira/browse/IGNITE-6966>
It will be fixed as a part of this endeavor: https://cwiki.apache.org/confluence/display/IGNITE/IEP-6%3A+Metrics+improvements <https://cwiki.apache.org/confluence/display/IGNITE/IEP-6:+Metrics+improvements> Thanks for your patience and support in reproducing the bug. — Denis > On Nov 20, 2017, at 4:23 AM, headstar <per.johans...@tangotelecom.com> wrote: > > 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/