pub enum BuiltinMetric {
Show 168 variants
WorstSpread,
WorstGapMs,
TotalMigrations,
WorstMigrationRatio,
MaxImbalanceRatio,
AvgImbalanceRatio,
MaxDsqDepth,
AvgDsqDepth,
StuckCount,
TotalFallback,
TotalKeepLast,
TotalRunDelay,
TotalPcount,
TotalSchedCount,
TotalYldCount,
TotalSchedGoidle,
TotalTtwuCount,
TotalTtwuLocal,
TotalRunDelayNsPerSched,
TtwuLocalFraction,
SchedGoidleFraction,
TotalSchedstatWallSec,
RunDelayPerSec,
PcountPerSec,
SchedCountPerSec,
YldCountPerSec,
TtwuCountPerSec,
SchedGoidlePerSec,
AvgNrRunning,
WorstP99WakeLatencyUs,
WorstMedianWakeLatencyUs,
WorstWakeLatencyCv,
WorstP99TimerLatencyUs,
WorstMedianTimerLatencyUs,
WorstP999TimerLatencyUs,
WorstTimerLatencyUs,
IterationRate,
TotalIterations,
TotalPhaseIterations,
TotalPhaseDurationSec,
TotalCpuTimeSec,
TotalIterationsPooled,
IterationsPerCpuSec,
TotalTaobenchOps,
TotalTaobenchFastOps,
TotalTaobenchSlowOps,
TotalTaobenchWallSec,
TaobenchTotalOpsPerSec,
TaobenchFastOpsPerSec,
TaobenchSlowOpsPerSec,
TaobenchHitFraction,
TaobenchServeP50UsWhole,
TaobenchServeP90UsWhole,
TaobenchServeP99UsWhole,
TaobenchServeP999UsWhole,
TaobenchServeMinUsWhole,
TaobenchServeMaxUsWhole,
TotalTaobenchGetCmds,
TotalTaobenchGetHits,
TaobenchCommandHitRate,
TotalSchbenchMsgRunDelayNs,
TotalSchbenchMsgPcount,
TotalSchbenchWorkerRunDelayNs,
TotalSchbenchWorkerPcount,
TotalSchbenchLoops,
SchbenchMsgRunDelayNsPerSched,
SchbenchWorkerRunDelayNsPerSched,
WakeupP50LatencyUsWhole,
WakeupP90LatencyUsWhole,
WakeupP99LatencyUsWhole,
WakeupP999LatencyUsWhole,
WakeupMinLatencyUsWhole,
WakeupMaxLatencyUsWhole,
RequestP50LatencyUsWhole,
RequestP90LatencyUsWhole,
RequestP99LatencyUsWhole,
RequestP999LatencyUsWhole,
RequestMinLatencyUsWhole,
RequestMaxLatencyUsWhole,
RpsP20Whole,
RpsP50Whole,
RpsP90Whole,
RpsMinWhole,
RpsMaxWhole,
SystemTimeNs,
UserTimeNs,
WorstMeanRunDelayUs,
WorstRunDelayUs,
WorstWakeLatencyTailRatio,
WorstIterationsPerWorker,
WorstIterationsPerCpuSec,
WorstPageLocality,
WorstCrossNodeMigrationRatio,
TotalCpuTimeNs,
TotalHardirqs,
TotalSoftirqNetRx,
TotalSoftirqNetTx,
TotalSoftirqTimer,
TotalSoftirqSched,
TotalIrqTimeNs,
TotalSoftirqTimeNs,
TotalStealTimeNs,
AvgIrqUtil,
MaxAvgIrqUtil,
HardirqRate,
NetRxSoftirqRate,
IrqTimeFraction,
TotalPhaseWallSec,
TotalPhaseWallNs,
MaxCpuHardirqs,
MaxCpuHardirqConcentration,
MaxCpuSoftirqNetRx,
MaxCpuSoftirqNetRxConcentration,
AvgCpuUtilCompScale,
AvgTaskLatCri,
MaxTaskLatCri,
MaxCgroupIrqPressure,
MaxCgroupIrqPressureConcentration,
MaxCgroupPsiIrqAvg10,
PsiIrqFullAvg10,
TotalIrqPressureUs,
WakeupP50LatencyUs,
WakeupP90LatencyUs,
WakeupP99LatencyUs,
WakeupP999LatencyUs,
RequestP50LatencyUs,
RequestP90LatencyUs,
RequestP99LatencyUs,
RequestP999LatencyUs,
SchedDelayMsgUs,
SchedDelayWorkerUs,
SchbenchLoopCount,
TaobenchTotalQps,
TaobenchFastQps,
TaobenchSlowQps,
TaobenchHitRatio,
TaobenchHitRate,
TaobenchServeP50Us,
TaobenchServeP90Us,
TaobenchServeP99Us,
TaobenchServeP999Us,
TaobenchServeMinUs,
TaobenchServeMaxUs,
WakeupMinLatencyUs,
WakeupMaxLatencyUs,
RequestMinLatencyUs,
RequestMaxLatencyUs,
RpsP20,
RpsP50,
RpsP90,
RpsMin,
RpsMax,
P99WakeLatencyUs,
MedianWakeLatencyUs,
WakeLatencyCv,
P99TimerLatencyUs,
MedianTimerLatencyUs,
P999TimerLatencyUs,
MeanRunDelayUs,
MaxRunDelayUs,
AvgOffCpuPct,
MinOffCpuPct,
MaxOffCpuPct,
OffCpuSpreadPct,
MigrationRatio,
IterationsPerWorker,
PageLocality,
CrossNodeMigrationRatio,
}Expand description
One variant per super::METRICS entry — the discoverable built-in
metric vocabulary. Self::wire_name is the stable registry / sidecar
/ CI string; Self::def resolves the full MetricDef. Pinned 1:1
to METRICS.
Variants§
WorstSpread
WorstGapMs
TotalMigrations
WorstMigrationRatio
MaxImbalanceRatio
AvgImbalanceRatio
MaxDsqDepth
AvgDsqDepth
StuckCount
TotalFallback
TotalKeepLast
TotalRunDelay
TotalPcount
TotalSchedCount
TotalYldCount
TotalSchedGoidle
TotalTtwuCount
TotalTtwuLocal
TotalRunDelayNsPerSched
TtwuLocalFraction
SchedGoidleFraction
TotalSchedstatWallSec
RunDelayPerSec
PcountPerSec
SchedCountPerSec
YldCountPerSec
TtwuCountPerSec
SchedGoidlePerSec
AvgNrRunning
WorstP99WakeLatencyUs
WorstMedianWakeLatencyUs
WorstWakeLatencyCv
WorstP99TimerLatencyUs
WorstMedianTimerLatencyUs
WorstP999TimerLatencyUs
WorstTimerLatencyUs
IterationRate
TotalIterations
TotalPhaseIterations
TotalPhaseDurationSec
TotalCpuTimeSec
TotalIterationsPooled
IterationsPerCpuSec
TotalTaobenchOps
TotalTaobenchFastOps
TotalTaobenchSlowOps
TotalTaobenchWallSec
TaobenchTotalOpsPerSec
TaobenchFastOpsPerSec
TaobenchSlowOpsPerSec
TaobenchHitFraction
TaobenchServeP50UsWhole
TaobenchServeP90UsWhole
TaobenchServeP99UsWhole
TaobenchServeP999UsWhole
TaobenchServeMinUsWhole
TaobenchServeMaxUsWhole
TotalTaobenchGetCmds
TotalTaobenchGetHits
TaobenchCommandHitRate
TotalSchbenchMsgRunDelayNs
TotalSchbenchMsgPcount
TotalSchbenchWorkerRunDelayNs
TotalSchbenchWorkerPcount
TotalSchbenchLoops
SchbenchMsgRunDelayNsPerSched
SchbenchWorkerRunDelayNsPerSched
WakeupP50LatencyUsWhole
WakeupP90LatencyUsWhole
WakeupP99LatencyUsWhole
WakeupP999LatencyUsWhole
WakeupMinLatencyUsWhole
WakeupMaxLatencyUsWhole
RequestP50LatencyUsWhole
RequestP90LatencyUsWhole
RequestP99LatencyUsWhole
RequestP999LatencyUsWhole
RequestMinLatencyUsWhole
RequestMaxLatencyUsWhole
RpsP20Whole
RpsP50Whole
RpsP90Whole
RpsMinWhole
RpsMaxWhole
SystemTimeNs
UserTimeNs
WorstMeanRunDelayUs
WorstRunDelayUs
WorstWakeLatencyTailRatio
WorstIterationsPerWorker
WorstIterationsPerCpuSec
WorstPageLocality
WorstCrossNodeMigrationRatio
TotalCpuTimeNs
TotalHardirqs
TotalSoftirqNetRx
TotalSoftirqNetTx
TotalSoftirqTimer
TotalSoftirqSched
TotalIrqTimeNs
TotalSoftirqTimeNs
TotalStealTimeNs
AvgIrqUtil
MaxAvgIrqUtil
HardirqRate
NetRxSoftirqRate
IrqTimeFraction
TotalPhaseWallSec
TotalPhaseWallNs
MaxCpuHardirqs
MaxCpuHardirqConcentration
MaxCpuSoftirqNetRx
MaxCpuSoftirqNetRxConcentration
AvgCpuUtilCompScale
AvgTaskLatCri
MaxTaskLatCri
MaxCgroupIrqPressure
MaxCgroupIrqPressureConcentration
MaxCgroupPsiIrqAvg10
PsiIrqFullAvg10
TotalIrqPressureUs
WakeupP50LatencyUs
WakeupP90LatencyUs
WakeupP99LatencyUs
WakeupP999LatencyUs
RequestP50LatencyUs
RequestP90LatencyUs
RequestP99LatencyUs
RequestP999LatencyUs
SchedDelayMsgUs
SchedDelayWorkerUs
SchbenchLoopCount
TaobenchTotalQps
TaobenchFastQps
TaobenchSlowQps
TaobenchHitRatio
TaobenchHitRate
TaobenchServeP50Us
TaobenchServeP90Us
TaobenchServeP99Us
TaobenchServeP999Us
TaobenchServeMinUs
TaobenchServeMaxUs
WakeupMinLatencyUs
WakeupMaxLatencyUs
RequestMinLatencyUs
RequestMaxLatencyUs
RpsP20
RpsP50
RpsP90
RpsMin
RpsMax
P99WakeLatencyUs
MedianWakeLatencyUs
WakeLatencyCv
P99TimerLatencyUs
MedianTimerLatencyUs
P999TimerLatencyUs
MeanRunDelayUs
MaxRunDelayUs
AvgOffCpuPct
MinOffCpuPct
MaxOffCpuPct
OffCpuSpreadPct
MigrationRatio
IterationsPerWorker
PageLocality
CrossNodeMigrationRatio
Implementations§
Source§impl BuiltinMetric
impl BuiltinMetric
Sourcepub const ALL: &'static [BuiltinMetric]
pub const ALL: &'static [BuiltinMetric]
Every built-in metric (registry-order-independent). Drives typed all-metrics sweeps and the 1:1 pin-test.
Sourcepub const fn wire_name(self) -> &'static str
pub const fn wire_name(self) -> &'static str
The stable registry / sidecar / CI wire name — the &str key into
super::METRICS and the ext-metrics maps.
Sourcepub fn from_wire_name(name: &str) -> Option<Self>
pub fn from_wire_name(name: &str) -> Option<Self>
Classify a wire name back to its variant, or None for a
non-built-in (scheduler-runtime / payload) key.
Source§impl BuiltinMetric
impl BuiltinMetric
Trait Implementations§
Source§impl Clone for BuiltinMetric
impl Clone for BuiltinMetric
Source§fn clone(&self) -> BuiltinMetric
fn clone(&self) -> BuiltinMetric
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuiltinMetric
impl Debug for BuiltinMetric
Source§impl From<&BuiltinMetric> for MetricId
impl From<&BuiltinMetric> for MetricId
Source§fn from(b: &BuiltinMetric) -> Self
fn from(b: &BuiltinMetric) -> Self
Borrowed-BuiltinMetric convenience — sweeping BuiltinMetric::ALL
yields &BuiltinMetric; it is Copy, so this is a trivial copy-then-wrap.
Source§impl From<BuiltinMetric> for MetricId
impl From<BuiltinMetric> for MetricId
Source§fn from(b: BuiltinMetric) -> Self
fn from(b: BuiltinMetric) -> Self
Converts to this type from the input type.
Source§impl Hash for BuiltinMetric
impl Hash for BuiltinMetric
Source§impl Ord for BuiltinMetric
impl Ord for BuiltinMetric
Source§fn cmp(&self, other: &BuiltinMetric) -> Ordering
fn cmp(&self, other: &BuiltinMetric) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BuiltinMetric
impl PartialEq for BuiltinMetric
Source§impl PartialOrd for BuiltinMetric
impl PartialOrd for BuiltinMetric
impl Copy for BuiltinMetric
impl Eq for BuiltinMetric
impl StructuralPartialEq for BuiltinMetric
Auto Trait Implementations§
impl Freeze for BuiltinMetric
impl RefUnwindSafe for BuiltinMetric
impl Send for BuiltinMetric
impl Sync for BuiltinMetric
impl Unpin for BuiltinMetric
impl UnwindSafe for BuiltinMetric
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more