Skip to content

Commit

Permalink
Added support for profiles and logs extraConfig
Browse files Browse the repository at this point in the history
Resolves #565
  • Loading branch information
bentonam authored and petewall committed Jul 16, 2024
1 parent 64e01fc commit a3871ed
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions charts/k8s-monitoring/templates/_configs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@

{{- if and .Values.traces.enabled }}
{{- include "alloy.config.tracesService" . }}

{{- if .Values.traces.extraConfig }}
{{- tpl .Values.traces.extraConfig $ | indent 0 }}
{{- end }}
{{- end }}

{{- include "alloy.config.logging" .Values.alloy.logging}}
Expand Down Expand Up @@ -152,4 +156,8 @@
{{- include "alloy.config.profilesService" . }}
{{- include "alloy.config.logging" (index .Values "alloy-profiles").logging }}
{{- include "alloy.config.liveDebugging" (index .Values "alloy-profiles").liveDebugging}}

{{- if .Values.profiles.extraConfig }}
{{- tpl .Values.profiles.extraConfig $ | indent 0 }}
{{- end }}
{{- end -}}

0 comments on commit a3871ed

Please sign in to comment.