prometheus/cmd/promtool
chinhnc e05c19da5d
Display block duration in promtool list blocks command (#7653)
* Update tsdb.go

Added DURATION column to `tsdb list` command

Signed-off-by: soup <chicknsoupuds@gmail.com>

* Use time.Duration instead of hardcoded hour

Signed-off-by: soup <chicknsoupuds@gmail.com>
2020-07-24 19:01:20 +05:30
..
testdata Support extended durations in promtool unit tests (Fixes #6285) (#6297) 2020-06-15 16:03:07 +01:00
archive.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
debug.go collect cpu and trace profiles with the promtool debug command (#4897) 2018-11-23 17:57:31 +02:00
main.go add tsdb cmds into promtool (#6088) 2020-07-23 19:35:50 +01:00
main_test.go Update go.mod dependencies before release (#5883) 2019-08-14 11:00:39 +02:00
tsdb.go Display block duration in promtool list blocks command (#7653) 2020-07-24 19:01:20 +05:30
unittest.go Support extended durations in promtool unit tests (Fixes #6285) (#6297) 2020-06-15 16:03:07 +01:00
unittest_test.go Support extended durations in promtool unit tests (Fixes #6285) (#6297) 2020-06-15 16:03:07 +01:00