prometheus/cmd/promtool
Ben Kochie 204249fcb5
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
Update golangci-lint (#17478)
* Update golangci-lint to v2.6.0
* Fixup various linting issues.
* Fixup deprecations.
* Add exception for `labels.MetricName` deprecation.

Signed-off-by: SuperQ <superq@gmail.com>
2025-11-05 13:47:34 +01: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 golangci-lint (#17478) 2025-11-05 13:47:34 +01: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 Update golangci-lint (#17478) 2025-11-05 13:47:34 +01: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 Update golangci-lint (#17478) 2025-11-05 13:47:34 +01:00
unittest_test.go promtool: Optional fuzzy float64 comparison in rules unittests (#16395) 2025-05-01 17:58:12 +10:00