-
Notifications
You must be signed in to change notification settings - Fork 785
Open
Description
What did you do?
Uncomment the last flag in the docker-compose.yml
services:
postgres-exporter:
image: prometheuscommunity/postgres-exporter:latest
ports:
- "9187:9187"
environment:
DATA_SOURCE_USER: user
DATA_SOURCE_PASS: password
DATA_SOURCE_URI: "db:5432/postgres?sslmode=disable"
command:
- "--collector.long_running_transactions"
- "--collector.stat_statements"
- "--collector.statio_user_indexes"
- "--collector.statio_user_tables"
- "--collector.stat_user_tables"
# - "--collector.stat_statements.include_query"
Start the service.
What did you expect to see?
No errors.
What did you see instead? Under which circumstances?
Error log: postgres_exporter: error: unknown long flag '--collector.stat_statements.include_query', try --help
Environment
Docker on Ubuntu 24.04.2 LTS
olconstant, mortenlj, Muni10, ak-purplesmart-ai and alexkunin
Metadata
Metadata
Assignees
Labels
No labels