prometheus/cmd/promtool
zenador 6150e1ca0e
Add analyze histograms command to promtool (#12331)
Add `query analyze` command to promtool

This command analyzes the buckets of classic and native histograms,
based on data queried from the Prometheus query API, i.e. it
doesn't require direct access to the TSDB files.

Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>

---------

Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
2024-01-10 17:32:36 +01:00
..
testdata Merge branch 'main' into add-focus-flag-to-promtool-test-rules 2023-12-05 12:27:15 +01:00
analyze.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
analyze_test.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
archive.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
backfill.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
backfill_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
debug.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
main.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
main_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
metrics.go Add a header to count retried remote write requests (#12729) 2023-09-20 11:11:03 +01:00
query.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
rules.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
rules_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
sd.go Allow non-default registry to be used for metrics of SD components 2023-12-11 11:14:26 +00:00
sd_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
tsdb.go Change ChunkReader.Chunk() to ChunkOrIterable() 2023-11-28 11:14:29 +01:00
tsdb_test.go enhance promtool tsdb analyze command (#12869) 2023-10-14 20:34:50 +02:00
unittest.go Merge branch 'main' into add-focus-flag-to-promtool-test-rules 2023-12-05 12:27:15 +01:00
unittest_test.go Merge branch 'main' into add-focus-flag-to-promtool-test-rules 2023-12-05 12:27:15 +01:00