4 references to EnableActivityPropagation
System.Net.Http (4)
System\Net\Http\DiagnosticsHandler.cs (1)
27
Debug.Assert(GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
);
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (1)
88
if (GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
&& DiagnosticsHandler.s_activitySource.HasListeners())
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (1)
24
|| (GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
&& Activity.Current?.Source == DiagnosticsHandler.s_activitySource);
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
541
if (GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
&& settings._activityHeadersPropagator is DistributedContextPropagator propagator)