1 write to _requestsCounter
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMetrics.cs (1)
48
_requestsCounter
= _meter.CreateCounter<long>(
5 references to _requestsCounter
Microsoft.AspNetCore.RateLimiting (5)
RateLimitingMetrics.cs (5)
56
if (
_requestsCounter
.Enabled)
68
_requestsCounter
.Add(1, tags);
89
if (metricsContext.CurrentLeasedRequestsCounterEnabled || _requestLeaseDurationCounter.Enabled ||
_requestsCounter
.Enabled)
112
if (
_requestsCounter
.Enabled)
116
_requestsCounter
.Add(1, tags);