client_golang/api/prometheus/v1
Łukasz Mierzwa dc1559e8ef
Update /api/v1/status/tsdb to include headStats (#925)
Current structs for v1 HTTP API assume that there is chunkCount and timeSeriesCount on /api/v1/status/runtimeinfo, which seems to be gone for at least a few releases. /api/v1/status/tsdb now holds an extra headStats block with chunkCount, numSeries and a few other fields.
Update API models and tests to reflect this change.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2022-01-05 10:09:29 +01:00
..
api.go Update /api/v1/status/tsdb to include headStats (#925) 2022-01-05 10:09:29 +01:00
api_bench_test.go Switch from encoding/json -> jsoniter (#570) 2019-05-28 13:45:06 +02:00
api_test.go Update /api/v1/status/tsdb to include headStats (#925) 2022-01-05 10:09:29 +01:00
example_test.go Update dependencies 2021-03-11 20:22:47 +01:00