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

Include minimumExpectedValue in exponential histogram #5394

Conversation

lenin-jaganathan
Copy link
Contributor

@lenin-jaganathan lenin-jaganathan commented Aug 16, 2024

Fixes #5393

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 for the pull request. I was trying to think of another way we can do this. If it's just about where to record a value (positive buckets or zero count), we can just keep track of the minimumExpectedValue and change the conditional to be < rather than <=. But since we need to include the zero_threshold in the snapshot, this may be the best way to do it.

@shakuzen shakuzen merged commit c7d16cd into micrometer-metrics:main Aug 21, 2024
6 checks passed
@lenin-jaganathan lenin-jaganathan deleted the inclusive_minexpected_exponential_histogram branch August 21, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exponential Histogram should include minimumExpectedValue in positive buckets
2 participants