mirror of
https://github.com/prometheus/prometheus
synced 2026-04-21 07:00:27 +08:00
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 for Prometheus upgrades and downgrades (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 / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (0) (push) Waiting to run
CI / Build Prometheus for common architectures (1) (push) Waiting to run
CI / Build Prometheus for common architectures (2) (push) Waiting to run
CI / Build Prometheus for all architectures (0) (push) Waiting to run
CI / Build Prometheus for all architectures (1) (push) Waiting to run
CI / Build Prometheus for all architectures (10) (push) Waiting to run
CI / Build Prometheus for all architectures (11) (push) Waiting to run
CI / Build Prometheus for all architectures (2) (push) Waiting to run
CI / Build Prometheus for all architectures (3) (push) Waiting to run
CI / Build Prometheus for all architectures (4) (push) Waiting to run
CI / Build Prometheus for all architectures (5) (push) Waiting to run
CI / Build Prometheus for all architectures (6) (push) Waiting to run
CI / Build Prometheus for all architectures (7) (push) Waiting to run
CI / Build Prometheus for all architectures (8) (push) Waiting to run
CI / Build Prometheus for all architectures (9) (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
* test(cmd/prometheus): add TestFeatureFlagsDocumented and fix help text Add TestFeatureFlagsDocumented to ensure the --enable-feature help text in and docs/feature_flags.md list the same set of flags. The help text was out of sync with the documentation: - Flags present in docs but missing from help text: `auto-reload-config`, `metadata-wal-records`, `otlp-native-delta-ingestion`, `promql-delayed-name-removal`, `type-and-unit-labels`. Added them. - Flags present in help text but missing from docs: `auto-gomaxprocs`, `expand-external-labels`. Removed them. The help text is now sorted for better readability and kept in sync with the documentation. Also, the parsing of an empty `--enable-feature` was changed to print `msg="Unknown option for --enable-feature" option=""` instead of nothing. Signed-off-by: Ayoub Mrini <ayoubmrini424@gmail.com> * main.go remove default for --enable-feature to avoid unwanted Signed-off-by: Ayoub Mrini <ayoubmrini424@gmail.com> --------- Signed-off-by: Ayoub Mrini <ayoubmrini424@gmail.com>