Skip to content

v0.14.0: Metrics default tags

Compare
Choose a tag to compare
@ysa23 ysa23 released this 11 Mar 09:00
· 48 commits to master since this release
7efe044

Move defaults tags to the metrics object instead of dealing with them individually within each reporter.

BREAKING CHANGES

  • tags are initialized in Metrics - e.g. will be ignored if initialized in each reporter (GraphiteReporter, DataDogReporter). To migrate, initialize default tags in the Metrics objects and not in the reporter. Please see the docs
  • Reporters - will get the complete tags object in each reporting function. I.e. no need to implement merging of tags anymore in the reporter level.