diff --git a/charts/cluster/examples/pgbouncer.yaml b/charts/cluster/examples/pgbouncer.yaml index 880742c00..c698070df 100644 --- a/charts/cluster/examples/pgbouncer.yaml +++ b/charts/cluster/examples/pgbouncer.yaml @@ -2,11 +2,29 @@ mode: standalone cluster: instances: 1 + monitoring: + enabled: true + podMonitor: + enabled: true poolers: - name: rw type: rw instances: 1 + monitoring: + enabled: true + podMonitor: + enabled: true + relabelings: + - targetLabel: type + replacement: rw - name: ro type: ro instances: 1 + monitoring: + enabled: true + podMonitor: + enabled: true + relabelings: + - targetLabel: type + replacement: ro diff --git a/charts/cluster/test/monitoring/01-monitoring_cluster.yaml b/charts/cluster/test/monitoring/01-monitoring_cluster.yaml index b30e61acc..e8d590e79 100644 --- a/charts/cluster/test/monitoring/01-monitoring_cluster.yaml +++ b/charts/cluster/test/monitoring/01-monitoring_cluster.yaml @@ -39,6 +39,7 @@ poolers: monitoring: enabled: true podMonitor: + enabled: true relabelings: - targetLabel: type replacement: rw @@ -57,6 +58,7 @@ poolers: monitoring: enabled: true podMonitor: + enabled: true relabelings: - targetLabel: type replacement: ro