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

metrics/influxdb: don't push empty histograms, no measurement != 0 #22590

Merged
merged 1 commit into from
Mar 26, 2021

Conversation

karalabe
Copy link
Member

Our InfluxDB reporter always pushed the content of a histogram, even if it was empty. This is problematic, because no measurements results in a reported value of 0 for all percentiles. This PR stops reporting 0 values if no measurements are made.

@karalabe karalabe added this to the 1.10.2 milestone Mar 26, 2021
@karalabe karalabe merged commit 063f78c into ethereum:master Mar 26, 2021
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.

1 participant