1 write to MetricsContext
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionContext.cs (1)
85
MetricsContext
= metricsContext;
4 references to MetricsContext
Microsoft.AspNetCore.Http.Connections (4)
Internal\HttpConnectionContext.cs (2)
592
if (HttpConnectionsEventSource.Log.IsEnabled() ||
MetricsContext
.ConnectionDurationEnabled)
599
metrics.ConnectionTransportStart(
MetricsContext
, transportType);
Internal\HttpConnectionManager.cs (2)
100
_metrics.TransportStop(connection.
MetricsContext
, transportType);
101
_metrics.ConnectionStop(connection.
MetricsContext
, transportType, status, connection.StartTimestamp, currentTimestamp);