Skip to content

Commit 8d6d9a6

Browse files
committed
Fix metrics path
1 parent baab19b commit 8d6d9a6

File tree

1 file changed

+10
-0
lines changed
  • monitoring/alloy/helm-chart-values/clusters/all

1 file changed

+10
-0
lines changed

monitoring/alloy/helm-chart-values/clusters/all/values.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,18 @@ clusterMetrics:
4848
jobLabel: apiserver
4949
kubelet:
5050
jobLabel: kubelet
51+
extraMetricProcessingRules: |
52+
rule {
53+
replacement = "/metrics"
54+
target_label = "metrics_path"
55+
}
5156
cadvisor:
5257
jobLabel: kubelet
58+
extraMetricProcessingRules: |
59+
rule {
60+
replacement = "/metrics/cadvisor"
61+
target_label = "metrics_path"
62+
}
5363
node-exporter:
5464
jobLabel: node-exporter
5565
metricsTuning:

0 commit comments

Comments
 (0)