Class TimerMetricsSnapshot
Immutable snapshot of timer-wheel runtime metrics.
public sealed class TimerMetricsSnapshot
- Inheritance
-
TimerMetricsSnapshot
- Inherited Members
Constructors
TimerMetricsSnapshot(int, long, long, long, double, long)
public TimerMetricsSnapshot(int activeTimerCount, long totalRegisteredTimers, long totalExecutedCallbacks, long callbackErrors, double averageCallbackDurationMs, long totalProcessedTicks)
Parameters
activeTimerCountinttotalRegisteredTimerslongtotalExecutedCallbackslongcallbackErrorslongaverageCallbackDurationMsdoubletotalProcessedTickslong
Properties
ActiveTimerCount
[Metric("active.count")]
public int ActiveTimerCount { get; }
Property Value
AverageCallbackDurationMs
[Metric("callback.duration.avg_ms")]
public double AverageCallbackDurationMs { get; }
Property Value
CallbackErrors
[Metric("callbacks.errors.total")]
public long CallbackErrors { get; }
Property Value
TotalExecutedCallbacks
[Metric("callbacks.executed.total")]
public long TotalExecutedCallbacks { get; }
Property Value
TotalProcessedTicks
[Metric("timer.processed_ticks.total")]
public long TotalProcessedTicks { get; }
Property Value
TotalRegisteredTimers
[Metric("registered.total")]
public long TotalRegisteredTimers { get; }