mirror of https://github.com/prometheus/prometheus
In most cases, there is no sample at `maxt`, so `PeekBack` has to be used. So far, `PeekBack` did not return a float histogram, and we disregarded even any returned normal histogram. This fixes both, and also tweaks the unit test to discover the problem (by using an earlier timestamp than "now" for the samples in the TSDB). Signed-off-by: beorn7 <beorn@grafana.com>pull/11830/head
parent
b4e15899d1
commit
d121db7a65
Loading…
Reference in new issue