Discord.Net
Discord.Net copied to clipboard
[Feature] Telemetry Support
I would like to add telemetry support to Discord.NET through Activities and Meters. This would mainly affect the WebSocket and Interactions project. A few sample telemetry datas I would like to add are:
Activities:
- Socket events
- interactions
- Long running logic
Metrics:
- WebSocket latency
- Shards
- Socket events
- executed interactions (e.g. duration, result, ...)
- Maybe a general overview of all requests sent by clients.
For integration with for instance OpenTelemetry I would create there an instrument package which would provides methods to enable these telemetries.
If this idea gets approved I would really like to implement this myself and make one or more PRs for this.