prometheus/cmd/promtool
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296)
Conditions are ANDed inside the same matcher but matchers are ORed

Including unit tests for "promtool tsdb dump".

Refactor some matchers scraping utils.

Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-01-15 10:29:53 +00: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 promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296) 2024-01-15 10:29:53 +00: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 Merge branch 'main' into add-focus-flag-to-promtool-test-rules 2023-12-05 12:27:15 +01:00
unittest_test.go Merge branch 'main' into add-focus-flag-to-promtool-test-rules 2023-12-05 12:27:15 +01:00