jsonnet: The node exporter should not export data about veth interfaces.

In case of the OVN, the regex was incorrect and was exporting veth metrics.
This commit is contained in:
Philip Gough
2021-08-16 10:26:30 +01:00
parent d666e4baa0
commit 710f6aa24d
2 changed files with 4 additions and 4 deletions

View File

@@ -30,8 +30,8 @@ spec:
- --no-collector.wifi
- --no-collector.hwmon
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
- --collector.netclass.ignored-devices=^(veth.*|[a-z0-9]+@if\d+)$
- --collector.netdev.device-exclude=^(veth.*|[a-z0-9]+@if\d+)$
- --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$
- --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$
image: quay.io/prometheus/node-exporter:v1.1.2
name: node-exporter
resources: