Skip to content

Commit 6957e1c

Browse files
Add the ability to set extraMetricProcessingRules for cadvisor
1 parent 26806fa commit 6957e1c

9 files changed

+3
-0
lines changed

charts/feature-cluster-metrics/templates/_cadvisor.alloy.tpl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ prometheus.relabel "cadvisor" {
102102
target_label = "__keepme"
103103
replacement = ""
104104
}
105+
{{- end }}
106+
{{- if .Values.cadvisor.extraMetricProcessingRules }}
107+
{{ .Values.cadvisor.extraMetricProcessingRules | indent 2 }}
105108
{{- end }}
106109
forward_to = argument.metrics_destinations.value
107110
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)