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

15 lines
302 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"
namespaceSelector:
any: true