13 references to MetricsHandler
System.Net.Http (13)
System\Net\Http\Metrics\MetricsHandler.cs (2)
21
Debug.Assert(GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled);
55
Debug.Assert(GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
90
long queueStartingTimestamp = HttpTelemetry.Log.IsEnabled() || (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled && Settings._metrics!.RequestsQueueDuration.Enabled)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (3)
23
|| (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled && pool.Settings._metrics!.RequestsQueueDuration.Enabled)
48
if (HttpTelemetry.Log.IsEnabled() || GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled)
52
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled)
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
290
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled)
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (4)
59
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled)
102
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled) _connectionMetrics?.ConnectionClosed(durationMs: Environment.TickCount64 - _creationTickCount);
119
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled) _connectionMetrics?.IdleStateChanged(idle: true);
125
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled) _connectionMetrics?.IdleStateChanged(idle: false);
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
137
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled)
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
534
if (GlobalHttpSettings.
MetricsHandler
.IsGloballyEnabled)