pub struct AutoScalerMetrics {
pub active_workers: i64,
pub total_pending_tasks: i64,
pub queue_metrics: Vec<QueueMetrics>,
pub queue_pressure_score: f64,
pub worker_utilization: f64,
pub task_complexity_factor: f64,
pub error_rate: f64,
pub memory_pressure_mb: f64,
pub avg_queue_wait_time_ms: f64,
pub throughput_trend: f64,
}
Expand description
Enhanced metrics with multi-dimensional analysis
Fields§
§active_workers: i64
§total_pending_tasks: i64
§queue_metrics: Vec<QueueMetrics>
§queue_pressure_score: f64
§worker_utilization: f64
§task_complexity_factor: f64
§error_rate: f64
§memory_pressure_mb: f64
§avg_queue_wait_time_ms: f64
§throughput_trend: f64
Trait Implementations§
Source§impl Clone for AutoScalerMetrics
impl Clone for AutoScalerMetrics
Source§impl Debug for AutoScalerMetrics
impl Debug for AutoScalerMetrics
Source§impl<'de> Deserialize<'de> for AutoScalerMetrics
impl<'de> Deserialize<'de> for AutoScalerMetrics
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 AutoScalerMetrics
impl RefUnwindSafe for AutoScalerMetrics
impl Send for AutoScalerMetrics
impl Sync for AutoScalerMetrics
impl Unpin for AutoScalerMetrics
impl UnwindSafe for AutoScalerMetrics
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