1 instantiation of SignalRServerActivitySource
Microsoft.AspNetCore.SignalR.Core (1)
SignalRDependencyInjectionExtensions.cs (1)
35services.TryAddSingleton(new SignalRServerActivitySource());
5 references to SignalRServerActivitySource
Microsoft.AspNetCore.SignalR.Core (5)
Internal\DefaultHubDispatcher.cs (5)
95activity = StartActivity(SignalRServerActivitySource.OnConnected, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnConnectedAsync), headers: null, _logger); 130activity = StartActivity(SignalRServerActivitySource.OnDisconnected, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnDisconnectedAsync), headers: null, _logger); 407var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, logger); 525var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, _logger); 836var activitySource = serviceProvider.GetService<SignalRServerActivitySource>()?.ActivitySource;