diff --git a/roles/postgres/templates/docker-compose.yaml.j2 b/roles/postgres/templates/docker-compose.yaml.j2 index be6a638..6f155f9 100644 --- a/roles/postgres/templates/docker-compose.yaml.j2 +++ b/roles/postgres/templates/docker-compose.yaml.j2 @@ -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"