apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: sonarr-exportarr
  namespace: download
  labels:
    release: kube-prometheus-stack
spec:
  selector:
    matchLabels:
      app: sonarr-service
  endpoints:
  - port: metrics
    interval: 3m
    scrapeTimeout: 1m
    path: /metrics