apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: s3-exporter-garage-remote
  labels:
    app.kubernetes.io/instance: s3-exporter
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: s3-exporter
    helm.sh/chart: s3-exporter-4.6.2
  namespace: s3-exporter
spec:
  jobLabel: s3-exporter-garage-remote
  namespaceSelector:
    matchNames:
      - s3-exporter
  selector:
    matchLabels:
      app.kubernetes.io/instance: s3-exporter
      app.kubernetes.io/name: s3-exporter
      app.kubernetes.io/service: s3-exporter-garage-remote
  endpoints:
    - interval: 5m
      path: /metrics
      port: metrics
      scrapeTimeout: 120s
