Uploaded image for project: 'OpenShift Monitoring'
  1. OpenShift Monitoring
  2. MON-2895

add option to activate netlink backend in netclass collector in Node Exporter settings in CMO

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Undefined
    • openshift-4.13
    • None
    • None
    • None
    • False
    • None
    • False
    • NEW
    • TELCOSTRAT-87 - Single Core CPU CaaS Budget for DU Deployment w/ Single-Node OpenShift on Sapphire Rapids Platform
    • NEW
    • 0
    • MON Sprint 234
    • 0

    Description

      Node Exporter has a new implementation of netclass collector. The new implementation uses netlink instead of sysfs to collect network device metrics, providing improved performance.
      In order to activate it, we add a boolean parameter `netlinkImpl` for netclass collector of Node Exporter in CMO config. The default value is true, activating the netlink implementation to improve performance.
      Here is an example of this new CMO config:

      apiVersion: v1
      kind: ConfigMap
      metadata: 
        name: cluster-monitoring-config
        namespace: openshift-monitoring
      data: 
      
        config.yaml: |
      
          nodeExporter: 
            collectors: 
              netclass: 
                enabled: true
                # enable netlink implementation of netclass collector.
                useNetlink: true
        
      

      This config will add the argument `--collector.netclass.netlink` to the node exporter argument list.

      Attachments

        Issue Links

          Activity

            People

              hasun@redhat.com Haoyu Sun
              hasun@redhat.com Haoyu Sun
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: