Fix Postgres Prometheus exporter
This commit is contained in:
parent
4c5a875b2c
commit
dc6b4ee817
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ services:
|
|||
image: quay.io/prometheuscommunity/postgres-exporter:{{ versions.postgres.prometheus_exporter }}
|
||||
ports:
|
||||
- "0.0.0.0:9187:9187"
|
||||
# See: https://github.com/prometheus-community/postgres_exporter/issues/1060#issuecomment-2420235829
|
||||
command: "--no-collector.stat_bgwriter"
|
||||
environment:
|
||||
DATA_SOURCE_URI: "postgres.kleinendorst.info:5432/postgres"
|
||||
DATA_SOURCE_USER: "postgres"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue