From 2a732c73c60618c219dfc318f51beada6d2dd937 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 7 Nov 2023 13:00:56 -0600 Subject: [PATCH] Adding monitoring for postgresql. --- kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml b/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml index 7fdd5fb..26f727a 100644 --- a/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml +++ b/kubernetes/apps/fediverse/peertube/app/postgresCluster.yaml @@ -15,6 +15,10 @@ spec: pg_hba: - host peertube peertube 10.244.0.0/16 md5 - host all peertube 127.0.0.1 md5 + monitoring: + pgmonitor: + exporter: + image: registry.developers.crunchydata.com/crunchydata/crunchy-postgres-exporter:ubi8-5.4.3-0 instances: - name: postgres