1 instantiation of MetricsContext
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionsMetrics.cs (1)
109
return new
MetricsContext
(_connectionDuration.Enabled, _currentConnectionsCounter.Enabled);
7 references to MetricsContext
Microsoft.AspNetCore.Http.Connections (7)
Internal\HttpConnectionContext.cs (2)
68
public HttpConnectionContext(string connectionId, string connectionToken, ILogger logger,
MetricsContext
metricsContext,
160
public
MetricsContext
MetricsContext { get; }
Internal\HttpConnectionManager.cs (1)
76
var
metricsContext = _metrics.CreateContext();
Internal\HttpConnectionsMetrics.cs (4)
45
public void ConnectionStop(in
MetricsContext
metricsContext, HttpTransportType transportType, HttpConnectionStopStatus status, long startTimestamp, long currentTimestamp)
56
public void ConnectionTransportStart(in
MetricsContext
metricsContext, HttpTransportType transportType)
67
public void TransportStop(in
MetricsContext
metricsContext, HttpTransportType transportType)
107
public
MetricsContext
CreateContext()