Hello all.

In addition, I found similar closed issue about cache metrics and
client mode [1].
The ticket resolution seems strange, because it can be reproduced now.

[1] https://issues.apache.org/jira/browse/IGNITE-3605

2017-11-21 2:47 GMT+03:00 Denis Magda <dma...@apache.org>:
> Ignite dev community,
>
> Bring this weird bug to your attention. Could you confirm it’s not a 
> “feature” of us? Put to the IEP-6 (metrics) list.
>
> —
> Denis
>
>> Begin forwarded message:
>>
>> From: Denis Magda <dma...@apache.org>
>> Subject: Re: getAverageGetTime/getAveragePutTime APIs of CacheMetrics always 
>> return 0
>> Date: November 20, 2017 at 3:46:27 PM PST
>> To: u...@ignite.apache.org
>> Reply-To: u...@ignite.apache.org
>>
>> 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 
>>> <mailto: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/ 
>>> <http://apache-ignite-users.70518.x6.nabble.com/>
>>
>

Reply via email to