homelab/archive/2022.07.bxl-k3s-pi/utils/monitoring/grafana/grafana-serviceMonitor.yaml

18 lines
398 B
YAML
Raw Normal View History

2023-04-16 15:04:06 +02:00
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
labels:
app.kubernetes.io/component: grafana
app.kubernetes.io/name: grafana
app.kubernetes.io/part-of: kube-prometheus
app.kubernetes.io/version: 8.4.6
name: grafana
namespace: monitoring
spec:
endpoints:
- interval: 15s
port: http
selector:
matchLabels:
app.kubernetes.io/name: grafana