18 lines
354 B
YAML
18 lines
354 B
YAML
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
|