Skip to content

Commit

Permalink
[chart] update servicemonitors
Browse files Browse the repository at this point in the history
Signed-off-by: junot <[email protected]>
  • Loading branch information
junotx authored and frezes committed Feb 28, 2024
1 parent 9e1656a commit 42d537c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions charts/whizard/templates/serviceMonitor.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.monitoring.enabled -}}
{{- $components := tuple "compactor" "query" "ingester" "store" "ruler" }}
{{- range $index, $component := .Values.monitoring.components }}
{{- $components := tuple "compactor" "query" "ingester" "store" "ruler" "router" }}
{{- range $index, $component := $components }}
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
Expand All @@ -16,7 +16,6 @@ spec:
port: http
scheme: http
scrapeTimeout: 30s
jobLabel: app.kubernetes.io/name
selector:
matchLabels:
app.kubernetes.io/name: {{ $component }}
Expand Down

0 comments on commit 42d537c

Please sign in to comment.