diff --git a/infra/observability/grafana/provisioning/datasources/datasources.yml b/infra/observability/grafana/provisioning/datasources/datasources.yml index d61759e1..39797aa7 100644 --- a/infra/observability/grafana/provisioning/datasources/datasources.yml +++ b/infra/observability/grafana/provisioning/datasources/datasources.yml @@ -36,3 +36,19 @@ datasources: datasourceUid: prometheus nodeGraph: enabled: true + + # Read-only PostgreSQL datasource for the PO Overview dashboard (issue #651). + # Uses the grafana_reader role provisioned by Flyway V68. Traffic stays inside + # archiv-net, so sslmode=disable is the deliberate, accepted setting. + - name: PostgreSQL + type: postgres + uid: postgres + url: archive-db:5432 + user: grafana_reader + editable: false + secureJsonData: + password: ${GRAFANA_DB_PASSWORD} + jsonData: + database: ${POSTGRES_DB} + sslmode: disable + postgresVersion: 1600