mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
bf0847073d
The bucket receiving math.MaxFloat64 observations now has math.MaxFloat64 as upper bound, while the bucket after it (the last possible bucket) has +Inf. This also adds a test for getBound and moves the getBound code to generic.go (where it should have been in the first place). Signed-off-by: beorn7 <beorn@grafana.com> |
||
---|---|---|
.. | ||
float_histogram.go | ||
float_histogram_test.go | ||
generic.go | ||
generic_test.go | ||
histogram.go | ||
histogram_test.go |