apps/garage/resources/servicemonitor.yaml

19 lines
354 B
YAML
Raw Normal View History

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