prometheus/cmd/promtool
David Leadbeater c91c2bbea5
promtool: Show more human readable got/exp output (#8064)
Avoid using %#v, nothing needs to parse this, so escaping " and so on
leads to hard to read output.

Add new lines, number and indentation to each alert series output.

Signed-off-by: David Leadbeater <dgl@dgl.cx>
2021-10-28 22:17:18 +11:00
..
testdata Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343) 2021-10-28 02:01:28 +02:00
archive.go
backfill.go add --max-block-duration in promtool create-blocks-from rules (#9511) 2021-10-21 23:28:37 +02:00
backfill_test.go
debug.go
main.go Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343) 2021-10-28 02:01:28 +02:00
main_test.go Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343) 2021-10-28 02:01:28 +02:00
rules.go Address golint failures from revive 2021-10-23 00:53:11 +02:00
rules_test.go Address golint failures from revive 2021-10-23 00:53:11 +02:00
tsdb.go promtool: add extended flag for tsdb analysis 2021-09-08 10:50:01 +02:00
unittest.go promtool: Show more human readable got/exp output (#8064) 2021-10-28 22:17:18 +11:00
unittest_test.go