prometheus/cmd/promtool
stuart nelson 6a69471bc2
[promtool] Support writing output as json (#4848)
* Support writing output as json

Oftentimes I'll want to execute something based on
the output from promtool, and supporting json
makes it easy to pull out values with a supporting
tool such as jq.

Signed-off-by: stuart nelson <stuartnelson3@gmail.com>
2018-11-14 18:40:07 +01:00
..
archive.go Add 3 commands in `promtool` for getting debug information from prometheus server (#4247) 2018-07-18 10:52:01 +03:00
debug.go Add 3 commands in `promtool` for getting debug information from prometheus server (#4247) 2018-07-18 10:52:01 +03:00
http.go Add 3 commands in `promtool` for getting debug information from prometheus server (#4247) 2018-07-18 10:52:01 +03:00
http_test.go Add 3 commands in `promtool` for getting debug information from prometheus server (#4247) 2018-07-18 10:52:01 +03:00
main.go [promtool] Support writing output as json (#4848) 2018-11-14 18:40:07 +01:00
main_test.go [promtool] Support writing output as json (#4848) 2018-11-14 18:40:07 +01:00
unittest.go Unit testing for rules (#4350) 2018-09-25 17:06:26 +01:00