1 write to _requestLeaseDurationCounter
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMetrics.cs (1)
31
_requestLeaseDurationCounter
= _meter.CreateHistogram<double>(
3 references to _requestLeaseDurationCounter
Microsoft.AspNetCore.RateLimiting (3)
RateLimitingMetrics.cs (3)
89
if (metricsContext.CurrentLeasedRequestsCounterEnabled ||
_requestLeaseDurationCounter
.Enabled || _requestsCounter.Enabled)
106
if (
_requestLeaseDurationCounter
.Enabled)
109
_requestLeaseDurationCounter
.Record(duration.TotalSeconds, tags);