Skip to content

[Feature] Add OTel support #3151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 12 commits into
base: dev
Choose a base branch
from
Draft

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy