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

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

Nikolay Izhikov created IGNITE-11920:
----------------------------------------

             Summary: [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


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
(v7.6.3#76005)