open-consul/troubleshoot/proxy/testdata/clusters.json

278 lines
6.5 KiB
JSON

{
"cluster_statuses": [
{
"name": "consul-dataplane",
"host_statuses": [
{
"address": {
"socket_address": {
"address": "127.0.0.1",
"port_value": 37595
}
},
"stats": [
{
"name": "cx_connect_fail"
},
{
"value": "1",
"name": "cx_total"
},
{
"name": "rq_error"
},
{
"name": "rq_success"
},
{
"name": "rq_timeout"
},
{
"value": "1",
"name": "rq_total"
},
{
"type": "GAUGE",
"value": "1",
"name": "cx_active"
},
{
"type": "GAUGE",
"value": "1",
"name": "rq_active"
}
],
"health_status": {
"eds_health_status": "HEALTHY"
},
"weight": 1,
"locality": {}
}
],
"circuit_breakers": {
"thresholds": [
{
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
},
{
"priority": "HIGH",
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
}
]
},
"observability_name": "consul-dataplane"
},
{
"name": "local_app",
"added_via_api": true,
"host_statuses": [
{
"address": {
"socket_address": {
"address": "127.0.0.1",
"port_value": 9090
}
},
"stats": [
{
"name": "cx_connect_fail"
},
{
"value": "39",
"name": "cx_total"
},
{
"name": "rq_error"
},
{
"name": "rq_success"
},
{
"name": "rq_timeout"
},
{
"value": "17",
"name": "rq_total"
},
{
"type": "GAUGE",
"name": "cx_active"
},
{
"type": "GAUGE",
"name": "rq_active"
}
],
"health_status": {
"eds_health_status": "HEALTHY"
},
"weight": 1,
"locality": {}
}
],
"circuit_breakers": {
"thresholds": [
{
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
},
{
"priority": "HIGH",
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
}
]
},
"observability_name": "local_app"
},
{
"name": "backend.default.dc1.internal.7838b4bd-58b3-8117-3df1-60584910541b.consul",
"added_via_api": true,
"host_statuses": [
{
"address": {
"socket_address": {
"address": "10.0.3.11",
"port_value": 20000
}
},
"stats": [
{
"name": "cx_connect_fail"
},
{
"value": "2",
"name": "cx_total"
},
{
"name": "rq_error"
},
{
"value": "14",
"name": "rq_success"
},
{
"name": "rq_timeout"
},
{
"value": "14",
"name": "rq_total"
},
{
"type": "GAUGE",
"value": "2",
"name": "cx_active"
},
{
"type": "GAUGE",
"name": "rq_active"
}
],
"health_status": {
"eds_health_status": "HEALTHY"
},
"weight": 1,
"locality": {}
}
],
"circuit_breakers": {
"thresholds": [
{
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
},
{
"priority": "HIGH",
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
}
]
},
"observability_name": "backend.default.dc1.internal.7838b4bd-58b3-8117-3df1-60584910541b.consul"
},
{
"name": "backend2.default.dc1.internal.7838b4bd-58b3-8117-3df1-60584910541b.consul",
"added_via_api": true,
"host_statuses": [
{
"address": {
"socket_address": {
"address": "10.0.0.11",
"port_value": 20000
}
},
"stats": [
{
"name": "cx_connect_fail"
},
{
"value": "4",
"name": "cx_total"
},
{
"name": "rq_error"
},
{
"value": "12",
"name": "rq_success"
},
{
"name": "rq_timeout"
},
{
"value": "12",
"name": "rq_total"
},
{
"type": "GAUGE",
"value": "2",
"name": "cx_active"
},
{
"type": "GAUGE",
"name": "rq_active"
}
],
"health_status": {
"eds_health_status": "HEALTHY"
},
"weight": 1,
"locality": {}
}
],
"circuit_breakers": {
"thresholds": [
{
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
},
{
"priority": "HIGH",
"max_connections": 1024,
"max_pending_requests": 1024,
"max_requests": 1024,
"max_retries": 3
}
]
},
"observability_name": "backend2.default.dc1.internal.7838b4bd-58b3-8117-3df1-60584910541b.consul"
}
]
}