1 write to Metrics
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
106
Metrics
= metrics
10 references to Metrics
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\ConnectionDispatcher.cs (1)
25
private KestrelMetrics Metrics => _serviceContext.
Metrics
;
Internal\Http\Http1Connection.cs (1)
88
ServiceContext.
Metrics
.RequestUpgradedStop(MetricsContext);
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
279
ServiceContext.
Metrics
.RequestUpgradedStart(_context.MetricsContext);
Internal\Http2\Http2Connection.cs (1)
1344
_context.ServiceContext.
Metrics
.RequestQueuedStart(_metricsContext, KestrelMetrics.Http2);
Internal\Http2\Http2StreamOfT.cs (1)
24
ServiceContext.
Metrics
.RequestQueuedStop(MetricsContext, KestrelMetrics.Http2);
Internal\Http3\Http3Connection.cs (1)
618
_context.ServiceContext.
Metrics
.RequestQueuedStart(MetricsContext, KestrelMetrics.Http3);
Internal\Http3\Http3StreamOfT.cs (1)
23
ServiceContext.
Metrics
.RequestQueuedStop(MetricsContext, KestrelMetrics.Http3);
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
33
private KestrelMetrics Metrics => _serviceContext.
Metrics
;
Internal\KestrelServerImpl.cs (2)
197
connectionDelegate = EnforceConnectionLimit(connectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.
Metrics
);
216
multiplexedConnectionDelegate = EnforceConnectionLimit(multiplexedConnectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.
Metrics
);