Versions Compared

Key

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

...

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

MetricGroup#getAllVariables returns all variables associated with the metric, for example:

...

Public Interfaces

MetricGroup#getAllVariables

Proposed Changes

Change the method spec and implementation to remove the brackets around keys.

For migration purposes it may make sense to add a new method with the new behavior (getVariables()) and deprecate the old method.

Compatibility, Deprecation, and Migration Plan

  • What impact (if any) will there be on existing users?
  • Existing users need to adjust their code to no longer strip the first and last character (e.g., what the datadog reporter does). Filter-based approaches will not be impacted.
  • If we are changing behavior how will we phase out the older behavior?
  • We don't have a well-defined process for breaking behavioral changes. We could consider adding a new method with a different name.