fix(admin): declare gateway cluster_metrics in node stats (#2728)

This commit is contained in:
Hampus
2026-09-12 22:48:22 +02:00
committed by GitHub
parent 57d08cd091
commit 38b7c63431
2 changed files with 47 additions and 1 deletions
@@ -1140,6 +1140,20 @@ export const NodeStatsResponse = z.object({
process_count: Int32Type,
process_limit: Int32Type,
uptime_seconds: Int32Type,
cluster_metrics: z
.object({
gateway_cluster_member_count: Int32Type,
gateway_cluster_discovery_resolve_failures_total: Int32Type,
gateway_cluster_membership_transitions_total: z.object({
up: Int32Type,
down: Int32Type,
}),
gateway_node_router_owner_resolutions_total: z.object({
self: Int32Type,
peer: Int32Type,
}),
})
.optional(),
}),
)
.max(1000),