Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...