Synapse/manifests/servicemonitor.yaml

15 lines
250 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: synapse
namespace: synapse
labels:
team: core
spec:
selector:
matchLabels:
app.kubernetes.io/name: synapse
endpoints:
- port: metrics
path: /