[
https://issues.apache.org/jira/browse/IGNITE-11980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884996#comment-16884996
]
Nikolay Izhikov commented on IGNITE-11980:
------------------------------------------
[~avinogradov]
1. The contributor should create a specific metric in `cache` metric registry.
Take a {{CacheMetricsImpl}} as an example.
2. Probably, you need simple {{LongMetricImpl}}.
3. One should pass it to the place, RR events occur.
4. On each event, you should call {{metric.increment()}}
That's all :)
Hope, you found this useful.
> Repairs count metric (ReadRepair)
> ---------------------------------
>
> Key: IGNITE-11980
> URL: https://issues.apache.org/jira/browse/IGNITE-11980
> Project: Ignite
> Issue Type: Task
> Reporter: Anton Vinogradov
> Priority: Major
> Labels: iep-31
>
> Ignite should provide metric of how many repairs happened during ReadRepar
> feature usage.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)