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)
535settings._metrics = new SocketsHttpHandlerMetrics(meter);
7 references to _metrics
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
90long queueStartingTimestamp = HttpTelemetry.Log.IsEnabled() || Settings._metrics!.RequestsQueueDuration.Enabled ? Stopwatch.GetTimestamp() : 0;
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionWaiter.cs (2)
22return HttpTelemetry.Log.IsEnabled() || pool.Settings._metrics!.RequestsQueueDuration.Enabled || Activity.Current?.Source == DiagnosticsHandler.s_activitySource 48pool.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)
59Debug.Assert(_pool.Settings._metrics is not null); 61SocketsHttpHandlerMetrics metrics = _pool.Settings._metrics;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
113_metrics = _metrics,