add monitor for garage
All checks were successful
lint-test-helm / helm-lint (push) Successful in 13s
renovate / renovate (push) Successful in 1m29s

This commit is contained in:
2025-10-27 21:08:35 -05:00
parent a63c9ef5ec
commit 1ba776a8d7
3 changed files with 248 additions and 38 deletions

View File

@@ -40,3 +40,47 @@ spec:
interval: 6h
scrapeTimeout: 120s
path: /metrics
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: s3-exporter-garage-local
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: s3-exporter-garage-local
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: s3-exporter
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/service: s3-exporter-garage-local
endpoints:
- port: metrics
interval: 6h
scrapeTimeout: 120s
path: /metrics
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: s3-exporter-garage-remote
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: s3-exporter-garage-remote
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/part-of: {{ .Release.Name }}
spec:
selector:
matchLabels:
app.kubernetes.io/name: s3-exporter
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/service: s3-exporter-garage-remote
endpoints:
- port: metrics
interval: 6h
scrapeTimeout: 120s
path: /metrics