14 references to MetricsContext
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\Http1ChunkedEncodingMessageBody.cs (1)
140KestrelMetrics.AddConnectionEndReason(_context.MetricsContext, ConnectionEndReason.UnexpectedEndOfRequestContent);
Internal\Http\Http1Connection.cs (11)
64MetricsContext, 87ServiceContext.Metrics.RequestUpgradedStop(MetricsContext); 142KestrelMetrics.AddConnectionEndReason(MetricsContext, reason); 154KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.RequestHeadersTimeout); 162KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.MinRequestBodyDataRate); 624KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.InvalidRequestHeaders); 635KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.InvalidRequestHeaders); 668KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.InvalidRequestHeaders); 677KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.InvalidRequestHeaders); 743KestrelMetrics.AddConnectionEndReason(MetricsContext, ConnectionEndReason.OtherError); 842KestrelMetrics.AddConnectionEndReason(MetricsContext, reason);
Internal\Http\Http1MessageBody.cs (2)
210KestrelMetrics.AddConnectionEndReason(context.MetricsContext, ConnectionEndReason.InvalidRequestHeaders); 231KestrelMetrics.AddConnectionEndReason(_context.MetricsContext, ConnectionEndReason.UnexpectedEndOfRequestContent);