apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: speedtest-exporter
  namespace: speedtest-exporter
  labels:
    helm.sh/chart: speedtest-exporter-0.1.2
    app.kubernetes.io/name: speedtest-exporter
    app.kubernetes.io/instance: speedtest-exporter
    app.kubernetes.io/version: "v3.5.4"
    app.kubernetes.io/managed-by: Helm
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: speedtest-exporter
      app.kubernetes.io/instance: speedtest-exporter
  endpoints:
    - port: http
      interval: 180m
      scrapeTimeout: 2m
  namespaceSelector:
    matchNames:
      - speedtest-exporter
