1 write to MetricsContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\BaseHttpConnectionContext.cs (1)
35
MetricsContext
= metricsContext;
7 references to MetricsContext
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\Http\Http1Connection.cs (1)
73
public ConnectionMetricsContext MetricsContext => _context.
MetricsContext
;
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
279
ServiceContext.Metrics.RequestUpgradedStart(_context.
MetricsContext
);
Internal\Http2\Http2Connection.cs (1)
159
_metricsContext = context.
MetricsContext
;
Internal\Http2\Http2Stream.cs (1)
98
public ConnectionMetricsContext MetricsContext => _context.
MetricsContext
;
Internal\Http3\Http3Connection.cs (1)
59
MetricsContext = context.
MetricsContext
;
Internal\Http3\Http3Stream.cs (1)
81
public ConnectionMetricsContext MetricsContext => _context.
MetricsContext
;
Internal\HttpConnection.cs (1)
129
if (_context.
MetricsContext
.ConnectionEndReason is { } connectionEndReason)