1 write to _metrics
System.Net.Http (1)
System\Net\Http\SocketsHttpHandler\Metrics\ConnectionMetrics.cs (1)
22_metrics = metrics;
7 references to _metrics
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\Metrics\ConnectionMetrics.cs (7)
23_openConnectionsEnabled = _metrics.OpenConnections.Enabled; 58_metrics.OpenConnections.Add(1, tags); 66if (_metrics.ConnectionDuration.Enabled) 68_metrics.ConnectionDuration.Record(durationMs / 1000d, tags); 74_metrics.OpenConnections.Add(-1, tags); 85_metrics.OpenConnections.Add(-1, tags); 87_metrics.OpenConnections.Add(1, tags);