mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
feat(gateway,admin): Expand stats for metrics (#3064)
This commit is contained in:
@@ -1133,6 +1133,9 @@ export type ReloadAllGuildsResponse = z.infer<typeof ReloadAllGuildsResponse>;
|
||||
export const NodeStatsResponse = z.object({
|
||||
status: createStringType(1, 256),
|
||||
sessions: Int32Type,
|
||||
session_resumes_total: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
||||
websocket_dispatches_total: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
||||
websocket_dispatch_drops_total: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER),
|
||||
guilds: Int32Type,
|
||||
presences: Int32Type,
|
||||
calls: Int32Type,
|
||||
@@ -1151,6 +1154,9 @@ export const NodeStatsResponse = z.object({
|
||||
node_id: createStringType(1, 256),
|
||||
status: createStringType(1, 256),
|
||||
sessions: Int32Type,
|
||||
session_resumes_total: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER).nullable(),
|
||||
websocket_dispatches_total: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER).nullable(),
|
||||
websocket_dispatch_drops_total: z.number().int().min(0).max(Number.MAX_SAFE_INTEGER).nullable(),
|
||||
guilds: Int32Type,
|
||||
presences: Int32Type,
|
||||
calls: Int32Type,
|
||||
|
||||
Reference in New Issue
Block a user