5 references to EnableActivityPropagation
System.Net.Http (5)
System\Net\Http\DiagnosticsHandler.cs (1)
28
Debug.Assert(GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
);
System\Net\Http\SocketsHttpHandler\ConnectionPool\ConnectionSetupDistributedTracing.cs (1)
89
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\HttpConnectionPoolManager.cs (1)
309
if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled || GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
)
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
536
if (GlobalHttpSettings.DiagnosticsHandler.
EnableActivityPropagation
&& settings._activityHeadersPropagator is DistributedContextPropagator propagator)