2 writes to _metrics
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
113
_metrics
= _metrics,
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
535
settings.
_metrics
= new SocketsHttpHandlerMetrics(meter);
7 references to _metrics
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
87
long queueStartingTimestamp = HttpTelemetry.Log.IsEnabled() || Settings.
_metrics
!.RequestsQueueDuration.Enabled ? Stopwatch.GetTimestamp() : 0;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (2)
22
return HttpTelemetry.Log.IsEnabled() || pool.Settings.
_metrics
!.RequestsQueueDuration.Enabled || Activity.Current?.Source == DiagnosticsHandler.s_activitySource
48
pool.Settings.
_metrics
!.RequestLeftQueue(request, pool, duration, versionMajor);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
287
_pool.Settings.
_metrics
!.RequestLeftQueue(request, Pool, duration, versionMajor: 3);
System\Net\Http\SocketsHttpHandler\HttpConnectionBase.cs (2)
59
Debug.Assert(_pool.Settings.
_metrics
is not null);
61
SocketsHttpHandlerMetrics metrics = _pool.Settings.
_metrics
;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
113
_metrics =
_metrics
,