-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
BU Product Work
-
False
-
None
-
False
-
OCPSTRAT-263 - Make host interfaces statistics more configurable
-
-
-
NetObserv - Sprint 236, NetObserv - Sprint 237, NetObserv - Sprint 238
Currently, the prometheus' node-exporter has an hard-coded command line argument for excluded net devices: https://github.com/openshift/cluster-monitoring-operator/blob/d1179dcd3090bc31e3de08259c0c792a1f3a0061/assets/node-exporter/daemonset.yaml#LL40C11-L40C144
This pull-request https://github.com/openshift/cluster-monitoring-operator/pull/1888 added some configurability (the netdev module can be switched on/off) - as a follow-up we'd like to go a step further and make the whole exclusion list configurable.
Need to agree & coordinate with the monitoring team about the work to do - at a first glance, it should be quite similar to the PR mentioned above.
We'd like to be able to configure as such (via the cluster-monitoring-config configmap) :
apiVersion: v1
kind: ConfigMap
metadata:
name: cluster-monitoring-config
namespace: openshift-monitoring
data:
config.yaml: |
nodeExporter:
collectors:
netdev:
enabled: true
ignoredDevices:
- br-.+
- veth.*
- relates to
-
MON-3222 Netclass / netdev device configuration
- Closed
- links to