apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: matrix-hookshot
  labels:
    app.kubernetes.io/instance: matrix-synapse
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: matrix-hookshot
    helm.sh/chart: matrix-hookshot-5.0.1
  namespace: matrix-synapse
spec:
  jobLabel: app.kubernetes.io/name
  namespaceSelector:
    matchNames:
      - matrix-synapse
  selector:
    matchLabels:
      app.kubernetes.io/instance: matrix-hookshot
      app.kubernetes.io/name: matrix-hookshot
  endpoints:
    - interval: 3m
      path: /metrics
      scrapeTimeout: 1m
      targetPort: 9001
