This commit is contained in:
2024-08-02 17:24:31 +07:00
parent 23fa8b4ff5
commit 89eec9691a
9 changed files with 146 additions and 64 deletions

View File

@@ -0,0 +1,19 @@
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
labels:
app: psql-pg-exporter
name: zalando-pg-exporter
namespace: rm-pgsql
spec:
podMetricsEndpoints:
- path: /metrics
port: exporter
relabelings:
- action: replace
replacement: rke-first-cluster
targetLabel: cluster
scheme: http
selector:
matchLabels:
application: spilo