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