Azure / azure-signalr

Azure SignalR Service SDK for .NET
https://aka.ms/signalr-service
MIT License
427 stars 101 forks source link

Initial OpenTelemetry logging and tracing support for SDK #1880

Closed HaofanLiao closed 11 months ago

HaofanLiao commented 11 months ago
  1. Add initial OpenTelemetry tracing support in RestClient.cs
  2. Add OpenTelemetrySample.csproj
Y-Sindo commented 11 months ago

Management SDK has two transport types: Transient(REST API), Persistent(WebSockets). Basically, they have the same functionalities. Is it better to add the OpenTelemetry logging and tracing on the IServiceHubLifetimeManager level, which has two impl RestHubLifetimeManager<THub> and WebSocketsHubLifetimeManager<THub> ?