Struct GatewayMetricsCollection
- Namespace
- DSharpPlus.Metrics
- Assembly
- DSharpPlus.dll
Represents an immutable snapshot of gateway metrics.
public readonly record struct GatewayMetricsCollection
Properties
- BytesReceived
The amount of bytes received from the gateway. If compression was enabled, this is the compressed size.
- BytesSent
The amount of bytes sent to the gateway.
- DecompressedBytesReceived
The amount of decompressed bytes received.
- Duration
The duration covered by these metrics.
- EventsReceived
The amount of events received from the gateway.
- EventsSent
The amount of events sent to the gateway.
- FailedResumes
The amount of times resuming a session failed.
- Reconnects
The amount of hard reconnects executed.
- ResumeAttempts
The amount of resume attempts made in total.
- SuccessfulResumes
The amount of successful session resume procedures executed.