mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(admin): declare gateway cluster_metrics in node stats (#2728)
This commit is contained in:
1 parent
57d08cd091
commit
38b7c63431
2 files changed
+47
-1
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user