NodeStats
Defined in: src/structures/Types/Node.ts:119
Interface for nodeStats from lavalink
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”| Property (defined in) | Type | Description |
|---|---|---|
cpu (src/structures/Types/Node.ts:98) | CPUStats | The cpu stats for the node. |
detailedStats? (src/structures/Types/Node.ts:123) | object | something from nodeLink https://nodelink.js.org/docs/differences#detailed-statistics |
detailedStats.api (src/structures/Types/Node.ts:124) | object | |
detailedStats.api.errors (src/structures/Types/Node.ts:127) | unknown | |
detailedStats.api.requests (src/structures/Types/Node.ts:126) | Record<string, number> | e.g. { “/v4/loadtracks”: 150, “/v4/info”: 5 } |
detailedStats.playback (src/structures/Types/Node.ts:131) | object | |
detailedStats.playback.events (src/structures/Types/Node.ts:133) | Record<string, number> | e.g. { “TrackStartEvent”: 150, “TrackEndEvent”: 5 } |
detailedStats.sources (src/structures/Types/Node.ts:130) | Record<string, number> | e.g. { “youtube”: 150, “soundcloud”: 5 } |
frameStats ({ BaseNodeStats.frameStats} src/structures/Types/Node.ts:121) | FrameStats | The frame stats for the node. |
memory (src/structures/Types/Node.ts:96) | MemoryStats | The memory stats for the node. |
players (src/structures/Types/Node.ts:90) | number | The amount of players on the node. |
playingPlayers (src/structures/Types/Node.ts:92) | number | The amount of playing players on the node. |
uptime (src/structures/Types/Node.ts:94) | number | The uptime for the node. |