--- # Source: grafana-operator/templates/service-monitor.yaml apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: redis-replication-grafana-operator namespace: grafana-operator labels: app.kubernetes.io/name: redis-replication-grafana-operator app.kubernetes.io/instance: grafana-operator app.kubernetes.io/part-of: grafana-operator redis-operator: "true" env: production spec: selector: matchLabels: redis_setup_type: replication endpoints: - port: redis-exporter interval: 30s scrapeTimeout: 10s