Add parameter to `histogramQuantile` to control non-monotonic behavior
wolffcm opened this issue · comments
Christopher M. Wolff commented
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