prometheus/web
beorn7 d121db7a65
federate: Fix PeekBack usage
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>
2023-01-12 20:43:02 +05:30
..
api/v1 Show individual scrape pools on /targets page (#11142) 2022-12-23 11:55:08 +01:00
ui Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
federate.go federate: Fix PeekBack usage 2023-01-12 20:43:02 +05:30
federate_test.go federate: Fix PeekBack usage 2023-01-12 20:43:02 +05:30
web.go Inject readiness state through context (#11617) 2023-01-09 00:04:00 +01:00
web_test.go /-/{healthy,ready}/ respond to HEAD (#11160) 2022-08-16 21:06:26 +02:00