Skip to content

Commit

Permalink
correct the root_path inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Sep 27, 2024
1 parent 6785159 commit 0c72d54
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ receivers:
{{- if (eq (include "splunk-otel-collector.metricsEnabled" .) "true") }}
hostmetrics:
collection_interval: 10s
root_path: {{ .Values.isWindows | ternary "C:\\hostfs" "/hostfs" }}
{{- if not .Values.isWindows }}
root_path: "/hostfs"
{{- end }}
scrapers:
cpu:
disk:
Expand Down

0 comments on commit 0c72d54

Please sign in to comment.