1 instantiation of DiagnosticsHandler
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
540
handler = new
DiagnosticsHandler
(handler, propagator, settings._allowAutoRedirect);
4 references to DiagnosticsHandler
System.Net.Http (4)
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
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
538
if (
DiagnosticsHandler
.IsGloballyEnabled() && settings._activityHeadersPropagator is DistributedContextPropagator propagator)