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