16 references to IncrementingPollingCounter
Microsoft.AspNetCore.Hosting (1)
Internal\HostingEventSource.cs (1)
94
_requestsPerSecondCounter ??= new
IncrementingPollingCounter
("requests-per-second", this, () => Volatile.Read(ref _totalRequests))
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\Infrastructure\KestrelEventSource.cs (2)
308
_connectionsPerSecondCounter ??= new
IncrementingPollingCounter
("connections-per-second", this, () => Volatile.Read(ref _totalConnections))
319
_tlsHandshakesPerSecondCounter ??= new
IncrementingPollingCounter
("tls-handshakes-per-second", this, () => Volatile.Read(ref _totalTlsHandshakes))
System.Net.Http (2)
System\Net\Http\HttpTelemetry.AnyOS.cs (2)
57
_startedRequestsPerSecondCounter ??= new
IncrementingPollingCounter
("requests-started-rate", this, () => Interlocked.Read(ref _startedRequests))
73
_failedRequestsPerSecondCounter ??= new
IncrementingPollingCounter
("requests-failed-rate", this, () => Interlocked.Read(ref _failedRequests))
System.Net.Security (1)
System\Net\Security\NetSecurityTelemetry.cs (1)
53
_tlsHandshakeRateCounter ??= new
IncrementingPollingCounter
("tls-handshake-rate", this, () => Interlocked.Read(ref _finishedTlsHandshakes))
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\RuntimeEventSource.cs (9)
82
_gen0GCCounter ??= new
IncrementingPollingCounter
("gen-0-gc-count", this, () => GC.CollectionCount(0)) { DisplayName = "Gen 0 GC Count", DisplayRateTimeScale = new TimeSpan(0, 1, 0) };
83
_gen1GCCounter ??= new
IncrementingPollingCounter
("gen-1-gc-count", this, () => GC.CollectionCount(1)) { DisplayName = "Gen 1 GC Count", DisplayRateTimeScale = new TimeSpan(0, 1, 0) };
84
_gen2GCCounter ??= new
IncrementingPollingCounter
("gen-2-gc-count", this, () => GC.CollectionCount(2)) { DisplayName = "Gen 2 GC Count", DisplayRateTimeScale = new TimeSpan(0, 1, 0) };
87
_monitorContentionCounter ??= new
IncrementingPollingCounter
("monitor-lock-contention-count", this, () => Monitor.LockContentionCount) { DisplayName = "Monitor Lock Contention Count", DisplayRateTimeScale = new TimeSpan(0, 0, 1) };
89
_completedItemsCounter ??= new
IncrementingPollingCounter
("threadpool-completed-items-count", this, () => ThreadPool.CompletedWorkItemCount) { DisplayName = "ThreadPool Completed Work Item Count", DisplayRateTimeScale = new TimeSpan(0, 0, 1) };
90
_allocRateCounter ??= new
IncrementingPollingCounter
("alloc-rate", this, () => GC.GetTotalAllocatedBytes()) { DisplayName = "Allocation Rate", DisplayUnits = "B", DisplayRateTimeScale = new TimeSpan(0, 0, 1) };
98
_exceptionCounter ??= new
IncrementingPollingCounter
("exception-count", this, () => Exception.GetExceptionCount()) { DisplayName = "Exception Count", DisplayRateTimeScale = new TimeSpan(0, 0, 1) };
100
_totalGcPauseTimeCounter ??= new
IncrementingPollingCounter
("total-pause-time-by-gc", this, () => GC.GetTotalPauseDuration().TotalMilliseconds) { DisplayName = "Time paused by GC", DisplayUnits = "ms" };
110
_jitTimeCounter ??= new
IncrementingPollingCounter
("time-in-jit", this, () => Runtime.JitInfo.GetCompilationTime().TotalMilliseconds) { DisplayName = "Time spent in JIT", DisplayUnits = "ms", DisplayRateTimeScale = new TimeSpan(0, 0, 1) };
System.Runtime.Caching (1)
System\Runtime\Caching\Counters.cs (1)
79
_counters[(int)CounterName.Turnover] = new
IncrementingPollingCounter
("turnover", this,