You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Nikolay Izhikov (Jira)" <ji...@apache.org> on 2019/09/24 07:12:00 UTC

[jira] [Updated] (IGNITE-11920) [IEP-35] Improve Metric API

     [ https://issues.apache.org/jira/browse/IGNITE-11920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikolay Izhikov updated IGNITE-11920:
-------------------------------------
    Fix Version/s: 2.8

> [IEP-35] Improve Metric API
> ---------------------------
>
>                 Key: IGNITE-11920
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11920
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Nikolay Izhikov
>            Assignee: Nikolay Izhikov
>            Priority: Major
>              Labels: IEP-35
>             Fix For: 2.8
>
>
> MetricRegistry may be made safer if we explicitly extract a group of metrics for some Ignite entity(cache, service, etc.). 
> Internally, the registry will stay the same.
> API proposition is:
> {code:java}
> MetricRegistry {
>     MetricSet default();
>     MetricSet group(String name);
> }
> MetricSet {
>     LongCounter counter();
>     void registrer(Metric m);
>     //other methods.
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)