Skip to content

Conversation

Suiram1701
Copy link
Contributor

Description

The PR adds OTel support for the Discord.Net.WebSocket package especially the DiscordSocketClient and AudioClient. At the time the following telemetries are implemented:

  • metrics of instances (shards), connections, latency and events of DiscordSocketClient
  • tracing of dispatch events
  • metrics of connectios, events, sent/received data of AudioClient

When I'am finished with this I will add an overview with all added meters, instruments and activities. Further instrumentation for e.g. Discord.Net.Interactions will folow in another PR.

Changes (also listed in the desc.)

  • Added a Discord.Net.OpenTelemetry package
  • Added metrics for the DiscordSocketClient
  • Added tracing for dispatch events of the DiscordSocketClient?
  • Added metrics for dispatch events
  • Added metrics for AudioClient connections, sent/received data and events
  • Added in DiscordSocketApiClient a getter for GatewayUrl
  • Added in DiscordVoiceApiClient a property for the remote ip and port
  • Added in AudioClient a property for the client id

Related Issues

#3093

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant