prometheus/cmd/promtool
dongjiang 3239723098
Some checks failed
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
Update golangci-lint and add modernize check (#17640)
* add modernize check

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

* fix golangci lint

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>

---------

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
2025-12-05 09:29:10 +01:00
..
testdata Add start_timestamp field for unit tests. 2025-12-03 11:20:23 +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 and add modernize check (#17640) 2025-12-05 09:29:10 +01:00
unittest_test.go Add start_timestamp field for unit tests. 2025-12-03 11:20:23 +01:00