Skip to content

Commit

Permalink
Add the ability to set extraMetricProcessingRules and for cadvisor
Browse files Browse the repository at this point in the history
  • Loading branch information
fplantinga-guida committed Nov 4, 2024
1 parent 26806fa commit 65fc39a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/feature-cluster-metrics/templates/_cadvisor.alloy.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 65fc39a

Please sign in to comment.