Monitoring: add node tag to node-exporter metrics
This commit is contained in:
parent
fd6cc7ef3d
commit
c4033903b4
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,12 @@ grafana:
|
|||
- grafana.services.yolokube.de
|
||||
ingressClassName: nginx
|
||||
prometheus-node-exporter:
|
||||
prometheus:
|
||||
monitor:
|
||||
enabled: true
|
||||
relabelings:
|
||||
- sourceLabels: [__meta_kubernetes_endpoint_node_name]
|
||||
targetLabel: node
|
||||
extraArgs:
|
||||
- '--collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)'
|
||||
- '--collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$'
|
||||
|
|
Loading…
Reference in a new issue