Monitoring: add node tag to node-exporter metrics

This commit is contained in:
Aaron Riedel 2023-06-23 19:19:48 +02:00
parent fd6cc7ef3d
commit c4033903b4
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -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)$'