1 instantiation of SignalRServerActivitySource
Microsoft.AspNetCore.SignalR.Core (1)
SignalRDependencyInjectionExtensions.cs (1)
35
services.TryAddSingleton(new
SignalRServerActivitySource
());
6 references to SignalRServerActivitySource
Microsoft.AspNetCore.SignalR.Core (6)
Internal\DefaultHubDispatcher.cs (6)
96
activity = StartActivity(
SignalRServerActivitySource
.OnConnected, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnConnectedAsync), headers: null, _logger, connection);
132
activity = StartActivity(
SignalRServerActivitySource
.OnDisconnected, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnDisconnectedAsync), headers: null, _logger, connection);
179
activity = StartActivity(
SignalRServerActivitySource
.OnAuthenticationRefreshed, ActivityKind.Internal, linkedActivity: null, scope.ServiceProvider, nameof(hub.OnAuthenticationRefreshedAsync), headers: null, _logger, connection);
456
var activity = StartActivity(
SignalRServerActivitySource
.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, logger, connection);
600
var activity = StartActivity(
SignalRServerActivitySource
.InvocationIn, ActivityKind.Server, connection.OriginalActivity, scope.ServiceProvider, hubMethodInvocationMessage.Target, hubMethodInvocationMessage.Headers, _logger, connection);
932
var activitySource = serviceProvider.GetService<
SignalRServerActivitySource
>()?.ActivitySource;