mirror of https://github.com/prometheus/prometheus
Browse Source
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
beorn7
2 years ago
committed by
Ganesh Vernekar
4 changed files with 17 additions and 11 deletions
Loading…
Reference in new issue