Discord.Net icon indicating copy to clipboard operation
Discord.Net copied to clipboard

[Feature] Telemetry Support

Open Suiram1701 opened this issue 6 months ago • 1 comments

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.

Suiram1701 avatar Apr 08 '25 09:04 Suiram1701