pub struct AlertsConfig {
pub enabled: bool,
pub suppress_duplicates_secs: u64,
pub cleared_retention_secs: u64,
pub webhook: Option<WebhookConfig>,
}Expand description
Worker health alerting configuration.
Fields§
§enabled: boolEnable or disable alert generation in the daemon.
suppress_duplicates_secs: u64Suppress duplicate alerts for this many seconds.
cleared_retention_secs: u64How long to keep a cleared alert visible (with state
cleared_pending_clean) before removing it entirely. Prevents
transient, self-healing circuit-breaker warnings from lingering on
rch status long after the fleet returned to healthy (bd-3ogaz).
webhook: Option<WebhookConfig>Webhook configuration for external notifications.
Trait Implementations§
Source§impl Clone for AlertsConfig
impl Clone for AlertsConfig
Source§fn clone(&self) -> AlertsConfig
fn clone(&self) -> AlertsConfig
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 moreSource§impl Debug for AlertsConfig
impl Debug for AlertsConfig
Source§impl Default for AlertsConfig
impl Default for AlertsConfig
Source§impl<'de> Deserialize<'de> for AlertsConfig
impl<'de> Deserialize<'de> for AlertsConfig
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
Auto Trait Implementations§
impl Freeze for AlertsConfig
impl RefUnwindSafe for AlertsConfig
impl Send for AlertsConfig
impl Sync for AlertsConfig
impl Unpin for AlertsConfig
impl UnsafeUnpin for AlertsConfig
impl UnwindSafe for AlertsConfig
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