prometheus/cmd/promtool
Filip Petkovski 7c125aa5fb
Promtool: Add support for compaction analysis (#8940)
* Extend promtool to support compaction analysis

This commit extends the promtool tsdb analyze command to help
troubleshoot high Prometheus disk usage. The command now plots a
distribution of how full chunks are relative to the maximum capacity of
120 samples per chunk.

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>

* Update cmd/promtool/tsdb.go

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2021-07-02 11:08:52 +01:00
..
testdata Promtool: Add feature flags to unit tests (#8958) 2021-06-30 22:43:39 +01:00
archive.go Make file permissions set to allow for wider umask options. (#7782) 2020-08-12 23:23:17 +02:00
backfill.go promtool: backfill: allow configuring block duration (#8919) 2021-06-29 14:53:38 +05:30
backfill_test.go promtool: backfill: allow configuring block duration (#8919) 2021-06-29 14:53:38 +05:30
debug.go collect cpu and trace profiles with the promtool debug command (#4897) 2018-11-23 17:57:31 +02:00
main.go Promtool: Add support for compaction analysis (#8940) 2021-07-02 11:08:52 +01:00
main_test.go Promtool: Validate service discovery files (#8950) 2021-06-29 17:32:59 +02:00
rules.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
rules_test.go Switched to go-kit/log 2021-06-11 12:28:36 -04:00
tsdb.go Promtool: Add support for compaction analysis (#8940) 2021-07-02 11:08:52 +01:00
unittest.go Promtool: Add feature flags to unit tests (#8958) 2021-06-30 22:43:39 +01:00
unittest_test.go Promtool: Add feature flags to unit tests (#8958) 2021-06-30 22:43:39 +01:00