prometheus/cmd/promtool
Rewanth Tammana 102fd8cc88
Enhanced visibility for promtool test rules with JSON colored formatting (#13342)
* Added diff flag for unit test to improvise readability & debugging

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Removed blank spaces

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Fixed linting error

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Added cli flags to documentation

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Revert unrrelated linting fixes

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Fixed review suggestions

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Cleanup

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Updated flag description

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

* Updated flag description

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>

---------

Signed-off-by: Rewanth Tammana <22347290+rewanthtammana@users.noreply.github.com>
2024-01-18 09:49:16 -05:00
..
testdata promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296) 2024-01-15 10:29:53 +00:00
analyze.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
analyze_test.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
archive.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
backfill.go enable gocritic, unconvert and unused linters 2023-04-13 19:20:22 +00:00
backfill_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
debug.go refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733) 2022-05-24 16:58:59 +10:00
main.go Enhanced visibility for promtool test rules with JSON colored formatting (#13342) 2024-01-18 09:49:16 -05:00
main_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
metrics.go Add a header to count retried remote write requests (#12729) 2023-09-20 11:11:03 +01:00
query.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
rules.go Merge branch 'main' into linter/nilerr 2023-04-19 19:56:39 +02:00
rules_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
sd.go Allow non-default registry to be used for metrics of SD components 2023-12-11 11:14:26 +00:00
sd_test.go golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
tsdb.go promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296) 2024-01-15 10:29:53 +00:00
tsdb_test.go promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296) 2024-01-15 10:29:53 +00:00
unittest.go Enhanced visibility for promtool test rules with JSON colored formatting (#13342) 2024-01-18 09:49:16 -05:00
unittest_test.go Enhanced visibility for promtool test rules with JSON colored formatting (#13342) 2024-01-18 09:49:16 -05:00