Skip to content
Snippets Groups Projects
Unverified Commit d3ad5de9 authored by paulfantom's avatar paulfantom
Browse files

jsonnet/kube-promethues/components: remove veth interfaces from node_exporter metrics


Signed-off-by: default avatarpaulfantom <pawel@krupa.net.pl>
parent 1bf43811
No related branches found
No related tags found
No related merge requests found
...@@ -172,6 +172,9 @@ function(params) { ...@@ -172,6 +172,9 @@ function(params) {
'--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.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)',
'--collector.netclass.ignored-devices=^(veth.*)$',
'--collector.netdev.device-blacklist=^(veth.*)$',
// '--collector.netdev.device-exclude=^(veth.*)$', // TODO(paulfantom): change with next version of node_exporter (post 1.0.1)
], ],
volumeMounts: [ volumeMounts: [
{ name: 'sys', mountPath: '/host/sys', mountPropagation: 'HostToContainer', readOnly: true }, { name: 'sys', mountPath: '/host/sys', mountPropagation: 'HostToContainer', readOnly: true },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment