1 instantiation of SignalRServerActivitySource
Microsoft.AspNetCore.SignalR.Core (1)
SignalRDependencyInjectionExtensions.cs (1)
35services.TryAddSingleton(new SignalRServerActivitySource());
6 references to SignalRServerActivitySource
Microsoft.AspNetCore.SignalR.Core (6)
Internal\DefaultHubDispatcher.cs (6)
103activity = StartActivity(SignalRServerActivitySource.OnConnected, ActivityKind.Internal, links: null, scope.ServiceProvider, nameof(hub.OnConnectedAsync), headers: null, _logger, connection); 139activity = StartActivity(SignalRServerActivitySource.OnDisconnected, ActivityKind.Internal, links: null, scope.ServiceProvider, nameof(hub.OnDisconnectedAsync), headers: null, _logger, connection); 186activity = StartActivity(SignalRServerActivitySource.OnAuthenticationRefreshed, ActivityKind.Internal, links: null, scope.ServiceProvider, nameof(hub.OnAuthenticationRefreshedAsync), headers: null, _logger, connection); 466var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivityLinks, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, logger, connection, descriptor); 611var activity = StartActivity(SignalRServerActivitySource.InvocationIn, ActivityKind.Server, connection.OriginalActivityLinks, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, _logger, connection, descriptor); 976var activitySource = serviceProvider.GetService<SignalRServerActivitySource>()?.ActivitySource;