fix(vm-client): add nodename-to-IP metricRelabelConfig for node-exporter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e2469e7843
commit
3be56f5a07
1 changed files with 5 additions and 0 deletions
|
|
@ -968,6 +968,11 @@ prometheus-node-exporter:
|
|||
- action: drop
|
||||
source_labels: [mountpoint]
|
||||
regex: "/var/lib/kubelet/pods.+"
|
||||
- action: replace
|
||||
source_labels: [__name__, instance]
|
||||
regex: "node_uname_info;([^:]+):.+"
|
||||
target_label: nodename
|
||||
replacement: "$1"
|
||||
# -- kube-state-metrics dependency chart configuration. For possible values check [here](https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-state-metrics/values.yaml)
|
||||
kube-state-metrics:
|
||||
enabled: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue