Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-1021

[Metrics] Make the netdev interfaces configurable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.14
    • None
    • None
    • 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.* 
      
      

              jtakvori Joel Takvorian
              jtakvori Joel Takvorian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: