THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The MetricGroup interface contains methods to create groups and metrics using an int as a name. The original intention was to allow pattern like group.addGroup("subtaskIndex").addGroup(0)
, but this didn't really work out, awith with addGroup(String, String)
serving this use-case much better.
Metric methods accept an int mostly for consistency, but there's no good use-case for it.
...
MetricGroup methods:
- #counter(int[, Counter])
- #meter(int, Meter)
- #gauge(int, Gauge)
- #histogram(int, Histogram)
- #group#addGroup(int)
Proposed Changes
Remove the methods without a replacement.
...