prometheus/cmd/promtool
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
i) Uses the more idiomatic Wrap and Wrapf methods for creating nested errors.
ii) Fixes some incorrect usages of fmt.Errorf where the error messages don't have any formatting directives.
iii) Does away with the use of fmt package for errors in favour of pkg/errors

Signed-off-by: tariqibrahim <tariq181290@gmail.com>
2019-03-26 00:01:12 +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
http_test.go Add 3 commands in promtool for getting debug information from prometheus server (#4247) 2018-07-18 10:52:01 +03:00
http.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
main_test.go [promtool] Support writing output as json (#4848) 2018-11-14 18:40:07 +01:00
main.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
unittest.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00