pub struct InfrastructureRecommendation {
pub metric_name: String,
pub current_value: f64,
pub target_value: f64,
pub recommended_action: String,
pub urgency: String,
}Expand description
Recommendation generated by the Agentic DevOps Engine
Fields§
§metric_name: StringName of the monitored metric (e.g. tokio_tick_latency_us)
current_value: f64Current measured value of the metric
target_value: f64Recommended target value for optimal execution
recommended_action: StringActionable recommendation for developer or autoscaler
urgency: StringUrgency level (“LOW”, “MEDIUM”, “HIGH”, “CRITICAL”)
Trait Implementations§
Source§impl Clone for InfrastructureRecommendation
impl Clone for InfrastructureRecommendation
Source§impl Debug for InfrastructureRecommendation
impl Debug for InfrastructureRecommendation
Source§impl<'de> Deserialize<'de> for InfrastructureRecommendation
impl<'de> Deserialize<'de> for InfrastructureRecommendation
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 InfrastructureRecommendation
impl RefUnwindSafe for InfrastructureRecommendation
impl Send for InfrastructureRecommendation
impl Sync for InfrastructureRecommendation
impl Unpin for InfrastructureRecommendation
impl UnsafeUnpin for InfrastructureRecommendation
impl UnwindSafe for InfrastructureRecommendation
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