pub struct BootstrapReport {
pub points_ingested: u64,
pub points_skipped: u64,
pub final_observations: u64,
pub final_threshold: f64,
}Expand description
Summary of a bootstrap replay — what went in, what was filtered out, and where the detector’s warmup stands afterwards.
Used by callers to check the detector is ready for live traffic
before the streaming pipeline is switched on. A rule of thumb:
final_observations >= min_observations (for a thresholded
forest) means the threshold is adaptive, not the floor.
Fields§
§points_ingested: u64Number of points successfully folded into the detector.
points_skipped: u64Number of non-finite points skipped without mutating the detector (NaN / ±∞ components).
final_observations: u64Observation count of the detector’s EMA stats after the
replay (0 for RandomCutForest which has no threshold
layer).
final_threshold: f64Adaptive threshold at the end of the replay (0.0 for
RandomCutForest which has no threshold layer).
Implementations§
Trait Implementations§
Source§impl Clone for BootstrapReport
impl Clone for BootstrapReport
Source§fn clone(&self) -> BootstrapReport
fn clone(&self) -> BootstrapReport
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 BootstrapReport
impl Debug for BootstrapReport
Source§impl Default for BootstrapReport
impl Default for BootstrapReport
Source§impl<'de> Deserialize<'de> for BootstrapReport
impl<'de> Deserialize<'de> for BootstrapReport
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
Source§impl PartialEq for BootstrapReport
impl PartialEq for BootstrapReport
Source§impl Serialize for BootstrapReport
impl Serialize for BootstrapReport
impl Copy for BootstrapReport
impl StructuralPartialEq for BootstrapReport
Auto Trait Implementations§
impl Freeze for BootstrapReport
impl RefUnwindSafe for BootstrapReport
impl Send for BootstrapReport
impl Sync for BootstrapReport
impl Unpin for BootstrapReport
impl UnsafeUnpin for BootstrapReport
impl UnwindSafe for BootstrapReport
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,
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