diff --git a/charts/feature-cluster-metrics/templates/_cadvisor.alloy.tpl b/charts/feature-cluster-metrics/templates/_cadvisor.alloy.tpl index 8cb9e5c118..b4355455b7 100644 --- a/charts/feature-cluster-metrics/templates/_cadvisor.alloy.tpl +++ b/charts/feature-cluster-metrics/templates/_cadvisor.alloy.tpl @@ -102,6 +102,9 @@ prometheus.relabel "cadvisor" { target_label = "__keepme" replacement = "" } +{{- end }} +{{- if .Values.cadvisor.extraMetricProcessingRules }} +{{ .Values.cadvisor.extraMetricProcessingRules | indent 2 }} {{- end }} forward_to = argument.metrics_destinations.value }