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

Add parameter to histogramQuantile to control non-monotonic behavior #5385

Closed
wolffcm opened this issue Feb 22, 2023 · 0 comments · Fixed by #5386
Closed

Add parameter to histogramQuantile to control non-monotonic behavior #5385

wolffcm opened this issue Feb 22, 2023 · 0 comments · Fixed by #5386
Assignees

Comments

@wolffcm
Copy link

wolffcm commented Feb 22, 2023

Often when users invoke histogramQuantile especially in cloud, they may be aggregating data from several sources. Due to the eventually consistent nature of InfluxDB, it's possible that missing data makes the bins not be monotonically increasing when sorted by upper bound.

The current behavior for this is to produce an error:

histogram record counts are not monotonic

We should instead provide a way for users to specify different behavior if that's what they want:

  • Produce no output
  • Force the bins to be monotonic
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 a pull request may close this issue.

1 participant