Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fitzoh
Copy link
Contributor

@fitzoh fitzoh commented Apr 18, 2020

When Graphite tag support was initially added to micrometer in #1806, tag support was configured to be on by default.

In an ensuing discussion (micrometer-metrics/micrometer-docs#123), @snicoll suggested updating the logic to default to true unless the user has specified prefix tags.

This PR implements those changes, as well as adding a configuration property for graphiteTagsEnabled.

Also related: spring-projects/spring-boot#20884

@shakuzen shakuzen added this to the 1.5.0 milestone Apr 19, 2020
@shakuzen shakuzen added registry: graphite A Graphite Registry related issue enhancement A general enhancement release notes Noteworthy change to call out in the release notes labels Apr 19, 2020
Copy link
Member

@shakuzen shakuzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@shakuzen shakuzen merged commit 8159c2a into micrometer-metrics:master Apr 20, 2020
@fitzoh fitzoh deleted the graphite-tag-defaults branch April 20, 2020 02:08
snicoll added a commit to spring-projects/spring-boot that referenced this pull request Apr 20, 2020
This commit harmonizes how Graphite is configured. If tagsAsPrefix is
set, it is used transparently. Otherwise, the new native tagging system
is used.

See micrometer-metrics/micrometer#2007

Closes gh-20884
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: graphite A Graphite Registry related issue release notes Noteworthy change to call out in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants