github.com/netdata/go.d.plugin@v0.58.1/modules/nginxplus/testdata/api-8/http_upstreams.json (about)

     1  {
     2    "backend": {
     3      "peers": [
     4        {
     5          "id": 0,
     6          "server": "127.0.0.1:81",
     7          "name": "127.0.0.1:81",
     8          "backup": false,
     9          "weight": 5,
    10          "state": "unavail",
    11          "active": 0,
    12          "requests": 26,
    13          "header_time": 0,
    14          "response_time": 0,
    15          "responses": {
    16            "1xx": 0,
    17            "2xx": 0,
    18            "3xx": 0,
    19            "4xx": 0,
    20            "5xx": 0,
    21            "codes": {},
    22            "total": 0
    23          },
    24          "sent": 0,
    25          "received": 0,
    26          "fails": 26,
    27          "unavail": 1,
    28          "health_checks": {
    29            "checks": 0,
    30            "fails": 0,
    31            "unhealthy": 0
    32          },
    33          "downtime": 1020702,
    34          "downstart": "2022-11-18T19:17:09.258Z",
    35          "selected": "2022-11-18T19:33:50Z"
    36        },
    37        {
    38          "id": 1,
    39          "server": "127.0.0.1:82",
    40          "name": "127.0.0.1:82",
    41          "backup": false,
    42          "weight": 1,
    43          "state": "up",
    44          "active": 0,
    45          "requests": 102,
    46          "header_time": 1,
    47          "response_time": 1,
    48          "responses": {
    49            "1xx": 0,
    50            "2xx": 102,
    51            "3xx": 0,
    52            "4xx": 0,
    53            "5xx": 0,
    54            "codes": {
    55              "200": 102
    56            },
    57            "total": 102
    58          },
    59          "sent": 9180,
    60          "received": 86496,
    61          "fails": 0,
    62          "unavail": 0,
    63          "health_checks": {
    64            "checks": 0,
    65            "fails": 0,
    66            "unhealthy": 0
    67          },
    68          "downtime": 0,
    69          "selected": "2022-11-18T19:34:00Z"
    70        }
    71      ],
    72      "keepalive": 0,
    73      "zombies": 0,
    74      "zone": "http_backend"
    75    }
    76  }