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