Files
infrastructure/clusters/cl01tl/monitoring/grafana-operator/templates/service-monitor.yaml
Alex Lebens 82e643e7ba
All checks were successful
lint-test-helm / helm-lint (push) Successful in 11s
renovate / renovate (push) Successful in 1m16s
add redis
2025-07-29 19:36:57 -05:00

20 lines
528 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: redis-replication-grafana-operator
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: redis-replication-grafana-operator
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
redis-operator: "true"
env: production
spec:
selector:
matchLabels:
redis_setup_type: replication
endpoints:
- port: redis-exporter
interval: 30s
scrapeTimeout: 10s