apps/garage/resources/servicemonitor.yaml
Peter Kurfer 319d7b83b0
All checks were successful
Renovate / renovate (push) Successful in 40s
fix(garage): add necessary label for ServiceMonitor
2024-05-18 12:31:08 +02:00

20 lines
388 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: garage
labels:
prometheus: default
spec:
endpoints:
- honorLabels: true
path: /metrics
port: metrics
scheme: http
scrapeTimeout: 30s
jobLabel: garage
namespaceSelector:
matchNames:
- garage
selector:
matchLabels:
app.kubernetes.io/component: metrics