apps/garage/resources/servicemonitor.yaml

21 lines
388 B
YAML
Raw Normal View History

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