1 write to _activeRequestLeasesCounter
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMetrics.cs (1)
26
_activeRequestLeasesCounter
= _meter.CreateUpDownCounter<long>(
3 references to _activeRequestLeasesCounter
Microsoft.AspNetCore.RateLimiting (3)
RateLimitingMetrics.cs (3)
84
_activeRequestLeasesCounter
.Add(1, tags);
103
_activeRequestLeasesCounter
.Add(-1, tags);
189
return new MetricsContext(policyName,
_activeRequestLeasesCounter
.Enabled, _queuedRequestsCounter.Enabled);