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

On/Off switch of mountstats Collector in Node Exporter

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • MON Sprint 237

      We will add a section for "mountstats" Collector in "nodeExporter.collectors" section in CMO configmap. 

      It has a boolean field "enabled", the default value is false.

       

      apiVersion: v1
      kind: ConfigMap
      metadata: 
        name: cluster-monitoring-config
        namespace: openshift-monitoring
      data: 
      
        config.yaml: |
      
          nodeExporter: 
            collectors: 
              # enable a collector which is disabled by default
              mountstats: 
                enabled: true
      

       

      The "mountstats" collector generates many high cardinality metrics, so we will collector only these metrics to avoid data congestion:

      1. node_mountstats_nfs_read_bytes_total
      2. node_mountstats_nfs_write_bytes_total
      3. node_mountstats_nfs_operations_requests_total

       

      refer to: https://issues.redhat.com/browse/OBSDA-293

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

                Created:
                Updated:
                Resolved: