forked from RemoteSync/grafana-meta-monitoring-chart
Enable DBs separately
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
@@ -8,10 +8,10 @@
|
||||
|
||||
{{- define "agent.loki_write_targets" -}}
|
||||
{{- $list := list }}
|
||||
{{- if .Values.local.enabled }}
|
||||
{{- if .Values.local.logs.enabled }}
|
||||
{{- $list = append $list ("loki.write.local.receiver") }}
|
||||
{{- end }}
|
||||
{{- if .Values.cloud.enabled }}
|
||||
{{- if .Values.cloud.logs.enabled }}
|
||||
{{- $list = append $list ("loki.write.cloud.receiver") }}
|
||||
{{- end }}
|
||||
{{- join ", " $list }}
|
||||
@@ -19,10 +19,10 @@
|
||||
|
||||
{{- define "agent.prometheus_write_targets" -}}
|
||||
{{- $list := list }}
|
||||
{{- if .Values.local.enabled }}
|
||||
{{- if .Values.local.metrics.enabled }}
|
||||
{{- $list = append $list ("prometheus.remote_write.local.receiver") }}
|
||||
{{- end }}
|
||||
{{- if .Values.cloud.enabled }}
|
||||
{{- if .Values.cloud.metrics.enabled }}
|
||||
{{- $list = append $list ("prometheus.remote_write.cloud.receiver") }}
|
||||
{{- end }}
|
||||
{{- join ", " $list }}
|
||||
@@ -30,10 +30,10 @@
|
||||
|
||||
{{- define "agent.tempo_write_targets" -}}
|
||||
{{- $list := list }}
|
||||
{{- if .Values.local.enabled }}
|
||||
{{- if .Values.local.traces.enabled }}
|
||||
{{- $list = append $list ("otelcol.exporter.otlp.local.input") }}
|
||||
{{- end }}
|
||||
{{- if .Values.cloud.enabled }}
|
||||
{{- if .Values.cloud.traces.enabled }}
|
||||
{{- $list = append $list ("otelcol.exporter.otlp.cloud.input") }}
|
||||
{{- end }}
|
||||
{{- join ", " $list }}
|
||||
|
Reference in New Issue
Block a user