6 references to s_activitySource
System.Net.Http (6)
System\Net\Http\DiagnosticsHandler.cs (3)
52s_activitySource.HasListeners() || 59if (s_activitySource.HasListeners()) 61activity = s_activitySource.StartActivity(DiagnosticsHandlerLoggingStrings.RequestActivityName, ActivityKind.Client);
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (2)
88if (DiagnosticsHandler.s_activitySource.HasListeners()) 91if (requestActivity?.Source == DiagnosticsHandler.s_activitySource)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (1)
22return HttpTelemetry.Log.IsEnabled() || pool.Settings._metrics!.RequestsQueueDuration.Enabled || Activity.Current?.Source == DiagnosticsHandler.s_activitySource