Skip to content

Commit

Permalink
Add the ability to set extraMetricProcessingRules 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 6957e1c
Show file tree
Hide file tree
Showing 9 changed files 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 6957e1c

Please sign in to comment.