apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: mariadb-operator-webhook
  labels:
    helm.sh/chart: mariadb-operator-25.10.3
    app.kubernetes.io/name: mariadb-operator-webhook
    app.kubernetes.io/instance: mariadb-operator
    app.kubernetes.io/version: "25.10.3"
    app.kubernetes.io/managed-by: Helm
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: mariadb-operator-webhook
      app.kubernetes.io/instance: mariadb-operator
  namespaceSelector:
    matchNames:
      - "mariadb-operator"
  endpoints:
    - port: metrics
      interval: 30s
      scrapeTimeout: 25s
