apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: redis-sentinel-hookshot
  namespace: matrix-synapse
  labels:
    helm.sh/chart: redis-replication-hookshot-0.5.0
    app.kubernetes.io/version: "0.5.0"
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: redis-sentinel-hookshot
    app.kubernetes.io/instance: matrix-synapse
    app.kubernetes.io/part-of: matrix-synapse
spec:
  selector:
    matchLabels:
      app: redis-sentinel-hookshot
      redis_setup_type: sentinel
      role: sentinel
  endpoints:
    - port: sentinel-client
      interval: 30s
      scrapeTimeout: 10s
