mirror of https://github.com/prometheus/prometheus
c6618729c9
The code did not handle spans with 0 length properly. Spans with length zero are now skipped in the comparison. Span index check not done against length-1, since length is a unit32, thus subtracting 1 leads to 2^32, not -1. Fixes and unit tests for both integer and float histograms added. Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com> |
||
---|---|---|
.. | ||
bstream.go | ||
bstream_test.go | ||
chunk.go | ||
chunk_test.go | ||
float_histogram.go | ||
float_histogram_test.go | ||
histogram.go | ||
histogram_meta.go | ||
histogram_meta_test.go | ||
histogram_test.go | ||
varbit.go | ||
varbit_test.go | ||
xor.go | ||
xor_test.go |