Skip to content

ShardlensStats

Defined in: packages/discordjs/src/index.ts:91

SDK health, including interactions still waiting for a response. dropped.spool_evicted counts spooled events the disk spool dropped at its size cap, which spooled still includes.

  • ClientStats

dropped: Record<string, number>

Defined in: packages/core/dist/index.d.ts:304

ClientStats.dropped


failedFlushes: number

Defined in: packages/core/dist/index.d.ts:305

ClientStats.failedFlushes


internalErrors: Record<string, number>

Defined in: packages/core/dist/index.d.ts:306

ClientStats.internalErrors


mode: DataMode | undefined

Defined in: packages/core/dist/index.d.ts:308

ClientStats.mode


pendingInteractions: number

Defined in: packages/discordjs/src/index.ts:93

Interactions waiting for their first response or their wrapped handler, sent after 10 seconds at most.


pendingSalt: number

Defined in: packages/core/dist/index.d.ts:303

ClientStats.pendingSalt


queueDepth: number

Defined in: packages/core/dist/index.d.ts:302

ClientStats.queueDepth


ready: boolean

Defined in: packages/core/dist/index.d.ts:307

ClientStats.ready


replayed: number

Defined in: packages/core/dist/index.d.ts:312

Spooled events the collector has since accepted.

ClientStats.replayed


spooled: number

Defined in: packages/core/dist/index.d.ts:310

Events written to the spool during this process’s lifetime (0 without a spool).

ClientStats.spooled