postgres metrics
This commit is contained in:
		| @@ -21,3 +21,14 @@ spec: | |||||||
|     size: 1Gi |     size: 1Gi | ||||||
|     storageClass: nfs-client |     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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user