pub struct AlertConfig {
pub max_workflow_duration: Duration,
pub max_stage_duration: Duration,
pub error_rate_threshold: f32,
pub memory_threshold_mb: u64,
pub cpu_threshold_percent: f32,
}Expand description
Alert configuration
Fields§
§max_workflow_duration: DurationMaximum workflow duration before alert
max_stage_duration: DurationMaximum stage duration before alert
error_rate_threshold: f32Error rate threshold (errors per minute)
memory_threshold_mb: u64Memory usage threshold in MB
cpu_threshold_percent: f32CPU usage threshold percentage
Trait Implementations§
Source§impl Clone for AlertConfig
impl Clone for AlertConfig
Source§fn clone(&self) -> AlertConfig
fn clone(&self) -> AlertConfig
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 AlertConfig
impl Debug for AlertConfig
Auto Trait Implementations§
impl Freeze for AlertConfig
impl RefUnwindSafe for AlertConfig
impl Send for AlertConfig
impl Sync for AlertConfig
impl Unpin for AlertConfig
impl UnwindSafe for AlertConfig
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