apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: sonarr-4k
  labels:
    app.kubernetes.io/instance: sonarr-4k
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: sonarr-4k
    helm.sh/chart: sonarr-4k-4.5.0
  namespace: sonarr-4k
spec:
  jobLabel: "sonarr-4k"
  namespaceSelector:
    matchNames:
      - sonarr-4k
  selector:
    matchLabels:
      app.kubernetes.io/instance: sonarr-4k
      app.kubernetes.io/name: sonarr-4k
  endpoints:
    - interval: 3m
      path: /metrics
      port: metrics
      scrapeTimeout: 1m
