prometheus/cmd/promtool
Ben Kochie 48956f60d7
Update modernize (#17471)
Apply additional Go modernize tool improvements.

Signed-off-by: SuperQ <superq@gmail.com>
2025-11-04 05:13:49 +00:00
..
testdata promtool: generate rulesLintConfig when --lint=none is set (#17414) 2025-10-28 14:34:52 +01:00
analyze.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
analyze_test.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
archive.go Use github.com/klauspost/compress for gzip and zlib 2024-02-22 17:08:15 +00:00
backfill.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
backfill_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01: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 Update modernize (#17471) 2025-11-04 05:13:49 +00:00
main_test.go Update modernize (#17471) 2025-11-04 05:13:49 +00:00
metrics.go promtool: Add Remote Write 2.0 support to push metrics command (#17417) 2025-10-31 11:38:40 +00:00
metrics_test.go promtool: Add Remote Write 2.0 support to push metrics command (#17417) 2025-10-31 11:38:40 +00:00
query.go Add analyze histograms command to promtool (#12331) 2024-01-10 17:32:36 +01:00
rules.go Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00
rules_test.go Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00
sd.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
sd_test.go Make metric/label name validation scheme explicit (#16928) 2025-08-18 08:09:00 +00:00
tsdb.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
tsdb_posix_test.go promtool: support creating tsdb blocks from a pipe (#16011) 2025-02-13 13:03:31 +11:00
tsdb_test.go Parallelize tests in cmd/promtool/ 2024-11-08 21:54:08 +05:30
unittest.go Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
unittest_test.go promtool: Optional fuzzy float64 comparison in rules unittests (#16395) 2025-05-01 17:58:12 +10:00