Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynatrace registry: Print ignored config warning only when necessary #3155

Conversation

pirgeo
Copy link
Contributor

@pirgeo pirgeo commented May 2, 2022

When using the new Dynatrace instruments introduced in #3093, a warning is almost always printed that states that the DistributionStatisticConfig is ignored. This PR ensures that the warning is printed only if there is an explicit attempt to modify histogram boundaries.

@pirgeo pirgeo changed the title Ensure no warnings are printed when using default settings Dynatrace registry: Ensure no warnings are printed when using default settings May 2, 2022
@pirgeo pirgeo changed the title Dynatrace registry: Ensure no warnings are printed when using default settings Dynatrace registry: Print ignored config warning only when necessary May 2, 2022
@jonatan-ivanov jonatan-ivanov added type: task A general task registry: dynatrace A Dynatrace Registry related issue labels May 4, 2022
@jonatan-ivanov jonatan-ivanov added this to the 1.10.0-M2 milestone May 4, 2022
@jonatan-ivanov jonatan-ivanov merged commit 24dcfa6 into micrometer-metrics:main May 4, 2022
@jonatan-ivanov
Copy link
Member

Thanks! :)

@jonatan-ivanov jonatan-ivanov modified the milestones: 1.10.0-M2, 1.9.0 May 10, 2022
@jonatan-ivanov
Copy link
Member

fyi: I backported these to 1.9.

@pirgeo
Copy link
Contributor Author

pirgeo commented May 10, 2022

Thank you so much!

@shakuzen shakuzen added enhancement A general enhancement and removed type: task A general task labels May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A general enhancement registry: dynatrace A Dynatrace Registry related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants