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