apiVersion: monitoring.coreos.com/v1 kind: ServiceMonitor metadata: name: redis-replication-postiz namespace: {{ .Release.Namespace }} labels: app.kubernetes.io/name: redis-replication-postiz 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