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