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