13 references to IsGloballyEnabled
System.Net.Http (13)
System\Net\Http\Metrics\MetricsHandler.cs (2)
21Debug.Assert(GlobalHttpSettings.MetricsHandler.IsGloballyEnabled); 55Debug.Assert(GlobalHttpSettings.MetricsHandler.IsGloballyEnabled);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (3)
23|| (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled && pool.Settings._metrics!.RequestsQueueDuration.Enabled) 49if (HttpTelemetry.Log.IsEnabled() || GlobalHttpSettings.MetricsHandler.IsGloballyEnabled) 53if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (2)
965_startTimestamp = HttpTelemetry.Log.IsEnabled() || (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled && _settings._metrics!.RequestsQueueDuration.Enabled) ? Stopwatch.GetTimestamp() : 0; 983if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled)
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (4)
59if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled) 102if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled) _connectionMetrics?.ConnectionClosed(durationMs: Environment.TickCount64 - _creationTickCount); 119if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled) _connectionMetrics?.IdleStateChanged(idle: true); 125if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled) _connectionMetrics?.IdleStateChanged(idle: false);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
137if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled)
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
535if (GlobalHttpSettings.MetricsHandler.IsGloballyEnabled)