forked from RemoteSync/grafana-meta-monitoring-chart
Add regexes to filter out PII
Signed-off-by: Michel Hollands <michel.hollands@grafana.com>
This commit is contained in:
committed by
Michel Hollands
parent
a1cd5d36b0
commit
fa2b01708c
@@ -17,6 +17,14 @@
|
||||
{{- join ", " $list }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "agent.loki_process_targets" -}}
|
||||
{{- if empty .Values.logs.piiregexes }}
|
||||
{{- include "agent.loki_write_targets" . }}
|
||||
{{- else }}
|
||||
{{- printf "loki.process.PII.receiver" }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "agent.prometheus_write_targets" -}}
|
||||
{{- $list := list }}
|
||||
{{- if .Values.local.metrics.enabled }}
|
||||
|
Reference in New Issue
Block a user