pub enum ObservabilityThresholdRule {
Max,
Min,
MaxSlopePerCycle,
MaxDestroyedOwnerCount,
MaxAfterDrain,
Exact,
}Expand description
Threshold evaluation rule attached to a metric.
Variants§
Max
Observed scalar value must be <= threshold.
Min
Observed scalar value must be >= threshold.
MaxSlopePerCycle
Observed slope_per_cycle must be <= threshold.
MaxDestroyedOwnerCount
Observed destroyed-owner after_drain count must be <= threshold.
MaxAfterDrain
Observed after_drain value must be <= threshold.
Exact
Observed value must match threshold within tolerance.
Trait Implementations§
Source§impl Clone for ObservabilityThresholdRule
impl Clone for ObservabilityThresholdRule
impl Copy for ObservabilityThresholdRule
Source§impl Debug for ObservabilityThresholdRule
impl Debug for ObservabilityThresholdRule
Source§impl<'de> Deserialize<'de> for ObservabilityThresholdRule
impl<'de> Deserialize<'de> for ObservabilityThresholdRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ObservabilityThresholdRule
Source§impl Hash for ObservabilityThresholdRule
impl Hash for ObservabilityThresholdRule
impl StructuralPartialEq for ObservabilityThresholdRule
Auto Trait Implementations§
impl Forget for ObservabilityThresholdRule
impl Freeze for ObservabilityThresholdRule
impl Move for ObservabilityThresholdRule
impl RefUnwindSafe for ObservabilityThresholdRule
impl Send for ObservabilityThresholdRule
impl Sync for ObservabilityThresholdRule
impl Unpin for ObservabilityThresholdRule
impl UnsafeUnpin for ObservabilityThresholdRule
impl UnwindSafe for ObservabilityThresholdRule
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