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)