1 write to _activeRequestsCounter
Microsoft.AspNetCore.Hosting (1)
Internal\HostingMetrics.cs (1)
23
_activeRequestsCounter
= _meter.CreateUpDownCounter<long>(
4 references to _activeRequestsCounter
Microsoft.AspNetCore.Hosting (4)
Internal\HostingMetrics.cs (4)
41
_activeRequestsCounter
.Add(1, tags);
50
if (
_activeRequestsCounter
.Enabled)
52
_activeRequestsCounter
.Add(-1, tags);
101
public bool IsEnabled() =>
_activeRequestsCounter
.Enabled || _requestDuration.Enabled;