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);
66
if (
_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);