Monitoring/manifests/grafana/servicemonitor.yaml

15 lines
257 B
YAML

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