mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-08-26 17:01:50 +02:00
jsonnet/node-exporter: adjust to node-exporter v1.2.0 arg name change
In version [node-exporter v1.2.0](https://github.com/prometheus/node_exporter/releases/tag/v1.2.0) two argument name changes were introduced. While the old names still work (with a deprecation warning), lets use the new names. Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
This commit is contained in:
parent
a2eee1803a
commit
6fa097c0ed
@ -180,7 +180,7 @@ function(params) {
|
|||||||
'--path.rootfs=/host/root',
|
'--path.rootfs=/host/root',
|
||||||
'--no-collector.wifi',
|
'--no-collector.wifi',
|
||||||
'--no-collector.hwmon',
|
'--no-collector.hwmon',
|
||||||
'--collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
|
'--collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
|
||||||
// NOTE: ignore veth network interface associated with containers.
|
// NOTE: ignore veth network interface associated with containers.
|
||||||
// OVN renames veth.* to <rand-hex>@if<X> where X is /sys/class/net/<if>/ifindex
|
// OVN renames veth.* to <rand-hex>@if<X> where X is /sys/class/net/<if>/ifindex
|
||||||
// thus [a-z0-9] regex below
|
// thus [a-z0-9] regex below
|
||||||
|
@ -29,7 +29,7 @@ spec:
|
|||||||
- --path.rootfs=/host/root
|
- --path.rootfs=/host/root
|
||||||
- --no-collector.wifi
|
- --no-collector.wifi
|
||||||
- --no-collector.hwmon
|
- --no-collector.hwmon
|
||||||
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
|
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
|
||||||
- --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$
|
- --collector.netclass.ignored-devices=^(veth.*|[a-f0-9]{15})$
|
||||||
- --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$
|
- --collector.netdev.device-exclude=^(veth.*|[a-f0-9]{15})$
|
||||||
image: quay.io/prometheus/node-exporter:v1.2.2
|
image: quay.io/prometheus/node-exporter:v1.2.2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user