feat: add route_fallbacks metric to Prometheus and Zabbix monitoring

- Prometheus: new pulse_route_fallbacks_total counter
- Zabbix: extend response with route_requests_total, route_fallbacks_total, uptime_seconds
- Docs: update Prometheus metrics table and Zabbix response example
This commit is contained in:
Maksim Totmin
2026-06-25 23:27:12 +07:00
parent 2df40d5dbe
commit 727fd1195a
3 changed files with 20 additions and 3 deletions
+4 -1
View File
@@ -241,7 +241,10 @@ type ZabbixNode struct {
// ZabbixResponse — ответ на запрос Zabbix LLD.
type ZabbixResponse struct {
Data []ZabbixNode `json:"data"`
Data []ZabbixNode `json:"data"`
RouteRequests int64 `json:"route_requests_total"`
RouteFallbacks int64 `json:"route_fallbacks_total"`
UptimeSeconds int64 `json:"uptime_seconds"`
}
// --- Balancer ---