Expand description
Metrics collection for websocket operations.
This module provides the Metrics struct and related types for tracking websocket connection and message statistics
such as the number of activity messages, connection attempts, and their durations. It leverages OpenTelemetry for metrics
instrumentation, supporting monitoring and observability.
Structs§
- Metrics
- Holds counters and histograms for websocket metrics.
Enums§
- Connection
Result - Possible results for a websocket connection attempt.
- Message
Type - Possible types of websocket activity messages.