apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: shelly-plug
  labels:
    app.kubernetes.io/instance: shelly-plug
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: shelly-plug
    helm.sh/chart: shelly-plug-4.6.2
  namespace: shelly-plug
spec:
  jobLabel: shelly-plug
  namespaceSelector:
    matchNames:
      - shelly-plug
  selector:
    matchLabels:
      app.kubernetes.io/instance: shelly-plug
      app.kubernetes.io/name: shelly-plug
  endpoints:
    - interval: 30s
      path: /metrics
      port: metrics
      scrapeTimeout: 10s
