ungleich-k8s/prometheus-monitoring/servicemonitor-loose-selector-current-namespace.yaml
2023-07-17 13:42:24 +02:00

13 lines
267 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: matrix-nicotest
labels:
team: frontend
spec:
selector:
matchLabels:
app.kubernetes.io/component: matrix-synapse
endpoints:
- port: synapse
path: "/_synapse/metrics"