Skip to content

Commit 0ee5a11

Browse files
committed
feat(grafana): add per-backend circuit breaker inflight and max panels
- Per-Backend Inflight: current inflight requests gauge - Per-Backend Max Inflight: configured max limit - Both filterable by backend template variable
1 parent abd90f0 commit 0ee5a11

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

deploy/observability/grafana/pingora-gateway-observability-dashboard.json

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,6 +2049,62 @@
20492049
],
20502050
"title": "HTTP/3 Enabled",
20512051
"type": "stat"
2052+
},
2053+
{
2054+
"datasource": {
2055+
"type": "prometheus",
2056+
"uid": "${DS_PROMETHEUS}"
2057+
},
2058+
"fieldConfig": {
2059+
"defaults": {
2060+
"unit": "short"
2061+
}
2062+
},
2063+
"gridPos": {
2064+
"h": 8,
2065+
"w": 12,
2066+
"x": 0,
2067+
"y": 91
2068+
},
2069+
"id": 68,
2070+
"options": {},
2071+
"targets": [
2072+
{
2073+
"expr": "nantian_gateway_dataplane_http_circuit_breaker_backend_inflight_current{backend=~\"$backend\"}",
2074+
"legendFormat": "{{backend}}",
2075+
"refId": "A"
2076+
}
2077+
],
2078+
"title": "Circuit Breaker — Per-Backend Inflight",
2079+
"type": "timeseries"
2080+
},
2081+
{
2082+
"datasource": {
2083+
"type": "prometheus",
2084+
"uid": "${DS_PROMETHEUS}"
2085+
},
2086+
"fieldConfig": {
2087+
"defaults": {
2088+
"unit": "short"
2089+
}
2090+
},
2091+
"gridPos": {
2092+
"h": 8,
2093+
"w": 12,
2094+
"x": 12,
2095+
"y": 91
2096+
},
2097+
"id": 69,
2098+
"options": {},
2099+
"targets": [
2100+
{
2101+
"expr": "nantian_gateway_dataplane_http_circuit_breaker_backend_max_inflight_requests",
2102+
"legendFormat": "max inflight",
2103+
"refId": "A"
2104+
}
2105+
],
2106+
"title": "Circuit Breaker — Per-Backend Max Inflight",
2107+
"type": "timeseries"
20522108
}
20532109
],
20542110
"version": 0,

0 commit comments

Comments
 (0)