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

signalfx: add tests for emiting percentile and histograms, fix timer #3369

Merged
merged 1 commit into from Aug 24, 2022

Conversation

bogdandrutu
Copy link
Contributor

Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com

@@ -98,7 +98,8 @@ public HistogramSnapshot takeSnapshot() {
currentSnapshot.total(), // Already delta in sfx implementation
currentSnapshot.max(), // Max cannot be calculated as delta, keep the
// current.
null, // No percentile values
currentSnapshot.percentileValues(), // No changes to the percentile
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was a bug, which was fixed in DistributionSummary, but now we have tests for this as well to ensure no future problems.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
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.

Looks good to me. Thank you.

@shakuzen shakuzen added bug A general bug registry: signalfx A SignalFX Registry related issue labels Aug 24, 2022
@shakuzen shakuzen added this to the 1.10.0-M5 milestone Aug 24, 2022
@shakuzen shakuzen merged commit f18f09f into micrometer-metrics:main Aug 24, 2022
@bogdandrutu bogdandrutu deleted the testwithpercentile branch August 24, 2022 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A general bug registry: signalfx A SignalFX Registry related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants