Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Add the ability to override metric details via config. #19

Merged
merged 1 commit into from
Jun 16, 2019
Merged

Add the ability to override metric details via config. #19

merged 1 commit into from
Jun 16, 2019

Conversation

GlassAndOneHalf
Copy link
Contributor

As discussed in kamon-io/Kamon#536, this commit adds a new class MetricOverrideReporter, that allows users to:

  • Rename metrics.
  • Delete tags associated with a metric.
  • Rename tags associated with a metric.

This PR was done in collaboration with @fazy and inspired by similar work in kamon-io/kamon-datadog#22

This commit adds a new class `MetricOverrideReporter`, that allows users to:

- Rename metrics.
- Delete tags associated with a metric.
- Rename tags associated with a metric.
@ivantopo
Copy link
Contributor

Hey @GlassAndOneHalf @fazy! Folks, I'm sorry that I missed this PR, just came to this module because of the upgrade to Kamon 2.0 and realized that this PR is waiting for so long! And, what is worst, it is a really awesome feature to have!

This is something so useful that should probably be part of core :), just tried it out and seems to be working fine. Thanks a lot for the efforts!

@ivantopo ivantopo merged commit 632bf6b into kamon-io:master Jun 16, 2019
@ivantopo
Copy link
Contributor

Released it as 1.1.2, now on its way to maven central! 🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants