Description
Cache operations executed from a client-side are not accounted in average time metrics. Use this reproducer [1] performing the following:
- Start a server node [2] that will report getAveragePutTime/getAverageGetTime metrics in a loop.
- Start a client node [3] that will report the same metrics and do cache updates/reads.
Both nodes show 0 for those metrics.
[1] https://github.com/dmagda/IgniteMetricsExampe/
[2] https://github.com/dmagda/IgniteMetricsExampe/blob/master/src/main/java/IgniteMetricsExample.java
[3] https://github.com/dmagda/IgniteMetricsExampe/blob/master/src/main/java/IgniteClientMetricsExample.java
Attachments
Issue Links
- duplicates
-
IGNITE-3495 CacheMetrics.getAverage###Time is not calculated properly
- Reopened