1 write to _activeRequestsCounter
Microsoft.AspNetCore.Hosting (1)
Internal\HostingMetrics.cs (1)
24
_activeRequestsCounter
= _meter.CreateUpDownCounter<long>(
4 references to _activeRequestsCounter
Microsoft.AspNetCore.Hosting (4)
Internal\HostingMetrics.cs (4)
42
_activeRequestsCounter
.Add(1, tags);
51
if (
_activeRequestsCounter
.Enabled)
53
_activeRequestsCounter
.Add(-1, tags);
102
public bool IsEnabled() =>
_activeRequestsCounter
.Enabled || _requestDuration.Enabled;