ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Izhikov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-11920) [IEP-35] Improve Metric API
Date Fri, 14 Jun 2019 12:50:00 GMT
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)

Mime
View raw message