pub struct AlertThresholds {
pub error_rate_threshold: f64,
pub response_time_threshold_ms: u64,
pub queue_depth_threshold: usize,
pub memory_usage_threshold: f64,
pub storage_usage_threshold: f64,
pub throughput_threshold_ops: f64,
}Expand description
Alert thresholds
Fields§
§error_rate_threshold: f64Error rate threshold (0.0 to 1.0)
response_time_threshold_ms: u64Response time threshold in milliseconds
queue_depth_threshold: usizeQueue depth threshold
memory_usage_threshold: f64Memory usage threshold (0.0 to 1.0)
storage_usage_threshold: f64Storage usage threshold (0.0 to 1.0)
throughput_threshold_ops: f64Throughput threshold (operations per second)
Trait Implementations§
Source§impl Clone for AlertThresholds
impl Clone for AlertThresholds
Source§fn clone(&self) -> AlertThresholds
fn clone(&self) -> AlertThresholds
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 AlertThresholds
impl Debug for AlertThresholds
Source§impl Default for AlertThresholds
impl Default for AlertThresholds
Source§impl<'de> Deserialize<'de> for AlertThresholds
impl<'de> Deserialize<'de> for AlertThresholds
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 AlertThresholds
impl RefUnwindSafe for AlertThresholds
impl Send for AlertThresholds
impl Sync for AlertThresholds
impl Unpin for AlertThresholds
impl UnwindSafe for AlertThresholds
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