pub struct PaneMonitorThresholds {
pub replay_depth_degraded_ratio: f64,
pub replay_depth_violated_ratio: f64,
pub retention_degraded_util_pct: f64,
pub selector_churn_degraded_pct: f64,
pub selector_churn_violated_pct: f64,
pub fallback_degraded_pct: f64,
pub fallback_violated_pct: f64,
pub latency_degraded_ratio: f64,
pub latency_violated_ratio: f64,
}Expand description
Tunable thresholds. Defaults are chosen to flag real regressions (≈2× blowups, near-budget pressure, sustained thrash) without firing on the normal jitter of a healthy workload.
Fields§
§replay_depth_degraded_ratio: f64replay_depth / interval above this is degraded.
replay_depth_violated_ratio: f64replay_depth / interval above this is a violation.
retention_degraded_util_pct: f64Retained-bytes utilization (% of budget) above this is degraded.
selector_churn_degraded_pct: f64Strategy-switch rate (% of transitions) above this is degraded.
selector_churn_violated_pct: f64Strategy-switch rate above this is a violation.
fallback_degraded_pct: f64Conservative-fallback rate (% of decisions) above this is degraded.
fallback_violated_pct: f64Conservative-fallback rate above this is a violation.
latency_degraded_ratio: f64observed / envelope above this is degraded.
latency_violated_ratio: f64observed / envelope above this is a violation.
Trait Implementations§
Source§impl Clone for PaneMonitorThresholds
impl Clone for PaneMonitorThresholds
Source§fn clone(&self) -> PaneMonitorThresholds
fn clone(&self) -> PaneMonitorThresholds
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaneMonitorThresholds
Source§impl Debug for PaneMonitorThresholds
impl Debug for PaneMonitorThresholds
Source§impl Default for PaneMonitorThresholds
impl Default for PaneMonitorThresholds
Source§impl PartialEq for PaneMonitorThresholds
impl PartialEq for PaneMonitorThresholds
Source§fn eq(&self, other: &PaneMonitorThresholds) -> bool
fn eq(&self, other: &PaneMonitorThresholds) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaneMonitorThresholds
impl Serialize for PaneMonitorThresholds
impl StructuralPartialEq for PaneMonitorThresholds
Auto Trait Implementations§
impl Freeze for PaneMonitorThresholds
impl RefUnwindSafe for PaneMonitorThresholds
impl Send for PaneMonitorThresholds
impl Sync for PaneMonitorThresholds
impl Unpin for PaneMonitorThresholds
impl UnsafeUnpin for PaneMonitorThresholds
impl UnwindSafe for PaneMonitorThresholds
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