Skip to content

[Feature] Telemetry Support #3093

@Suiram1701

Description

@Suiram1701

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions