Skip to content

Commit

Permalink
Create ServiceMonitor for metrics collector
Browse files Browse the repository at this point in the history
  • Loading branch information
bismarck committed Feb 29, 2024
1 parent 9e6b1ed commit ea2bfa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-otel-stack/templates/servicemonitors.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ $collectorList := (append (append .Values.collectors .Values.tracesCollector) .Values.metricsCollector) }}
{{ $collectorList := (append (append (append .Values.collectors .Values.tracesCollector) .Values.metricsCollector) .Values.logsCollector)}}
{{ range $_, $collector := $collectorList -}}
{{ if $collector.enabled }}
{{ $collectorName := (print $.Release.Name "-" $collector.name) }}
Expand Down

0 comments on commit ea2bfa1

Please sign in to comment.