mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
feat(gateway,admin): Expand stats for metrics (#3064)
This commit is contained in:
1 parent
840dc3dfa5
commit
632067b552
13 files changed
+175
-2
No files matched your search
@@ -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