Skip to content

NodeStats

Defined in: src/structures/Types/Node.ts:146

Interface for nodeStats from lavalink

Property (defined in)TypeDescription
cpu
(src/structures/Types/Node.ts:125)
CPUStatsThe cpu stats for the node.
detailedStats?
(src/structures/Types/Node.ts:150)
objectsomething from nodeLink https://nodelink.js.org/docs/differences#detailed-statistics
detailedStats.api
(src/structures/Types/Node.ts:151)
object
detailedStats.api.errors
(src/structures/Types/Node.ts:154)
unknown
detailedStats.api.requests
(src/structures/Types/Node.ts:153)
Record<string, number>e.g. { “/v4/loadtracks”: 150, “/v4/info”: 5 }
detailedStats.playback
(src/structures/Types/Node.ts:158)
object
detailedStats.playback.events
(src/structures/Types/Node.ts:160)
Record<string, number>e.g. { “TrackStartEvent”: 150, “TrackEndEvent”: 5 }
detailedStats.sources
(src/structures/Types/Node.ts:157)
Record<string, number>e.g. { “youtube”: 150, “soundcloud”: 5 }
frameStats
({BaseNodeStats.frameStats}
src/structures/Types/Node.ts:148)
FrameStatsThe frame stats for the node.
memory
(src/structures/Types/Node.ts:123)
MemoryStatsThe memory stats for the node.
players
(src/structures/Types/Node.ts:117)
numberThe amount of players on the node.
playingPlayers
(src/structures/Types/Node.ts:119)
numberThe amount of playing players on the node.
uptime
(src/structures/Types/Node.ts:121)
numberThe uptime for the node.