postgres metrics

This commit is contained in:
Remy Moll 2023-12-24 14:42:04 +01:00
parent 28f33f8ff7
commit 72b7734535

View File

@ -21,3 +21,14 @@ spec:
size: 1Gi
storageClass: nfs-client
---
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: postgres-exporter
spec:
selector:
matchLabels:
"cnpg.io/cluster": immich-postgres
podMetricsEndpoints:
- port: metrics