github.com/google/cadvisor@v0.49.1/collector/config/sample_config_endpoint_config.json (about)

     1  {
     2    "endpoint" : {
     3      "protocol": "https",
     4      "port": 8000,
     5      "path": "/nginx_status"
     6    },
     7    "metrics_config"  : [
     8      { "name" : "activeConnections",
     9        "metric_type" : "gauge",
    10        "units" : "number of active connections",
    11        "data_type" : "int",
    12        "polling_frequency" : 10,
    13        "regex" : "Active connections: ([0-9]+)"
    14      },
    15      { "name" : "reading",
    16        "metric_type" : "gauge",
    17        "units" : "number of reading connections",
    18        "data_type" : "int",
    19        "polling_frequency" : 10,
    20        "regex" : "Reading: ([0-9]+) .*"
    21      },
    22      { "name" : "writing",
    23        "metric_type" : "gauge",
    24        "data_type" : "int",
    25        "units" : "number of writing connections",
    26        "polling_frequency" : 10,
    27        "regex" : ".*Writing: ([0-9]+).*"
    28      },
    29      { "name" : "waiting",
    30        "metric_type" : "gauge",
    31        "units" : "number of waiting connections",
    32        "data_type" : "int",
    33        "polling_frequency" : 10,
    34        "regex" : ".*Waiting: ([0-9]+)"
    35      }
    36    ]
    37  
    38  }