apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  name: postiz-temporal-matching
  labels:
    app.kubernetes.io/component: matching
    app.kubernetes.io/name: temporal
    helm.sh/chart: temporal-1.2.0
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/instance: postiz
    app.kubernetes.io/version: "1.31.0"
    app.kubernetes.io/part-of: temporal
spec:
  endpoints:
    - port: metrics
      interval: 30s
  jobLabel: postiz-temporal-matching
  namespaceSelector:
    matchNames:
      - "postiz"
  selector:
    matchLabels:
      app.kubernetes.io/name: temporal
      app.kubernetes.io/instance: postiz
      app.kubernetes.io/component: matching
      app.kubernetes.io/headless: 'true'
