-
Notifications
You must be signed in to change notification settings - Fork 795
Open
Description
What did you do?
- Install or upgrade
postgres_exporter
via the Helm chart6.10.2
. - Add the flag
--no-collector.stat_progress_vacuum
to the command arguments. - Start the pod.
- Observe the exporter crash with an unknown flag error.
What did you expect to see?
postgres_exporter
should accept the --no-collector.stat_progress_vacuum
flag and disable the related collector without throwing an error.
According to the official documentation, this flag should be supported ([no-]collector.stat_progress_vacuum
).
Other flags in the same [no-collector.*]
format work correctly, so the issue seems isolated to this specific collector.
https://github.com/prometheus-community/postgres_exporter?tab=readme-ov-file#flags
What did you see instead? Under which circumstances?
When running postgres_exporter
, the flag --no-collector.stat_progress_vacuum
causes the exporter to fail with the following error:
postgres_exporter: error: unknown long flag '--no-collector.stat_progress_vacuum', try --help
Environment
- postgres_exporter version:
Helm chart: 6.10.2
App version: 0.17.1
EKS 1.33
- postgres_exporter flags:
--no-collector.database
--no-collector.process_idle
--no-collector.stat_statements
--no-collector.replication
--no-collector.locks
--no-collector.stat_bgwriter
--no-collector.wal
--no-collector.stat_database
Metadata
Metadata
Assignees
Labels
No labels