pub struct LifecycleMetricsSnapshot {
pub shutdown_drain_count: u64,
pub clean_shutdown_count: u64,
pub deadline_exceeded_count: u64,
pub persistence_failed_count: u64,
pub restart_reconciliation_count: u64,
pub lifecycle_persistence_failure_count: u64,
pub shutdown_drain_duration_ms_total: u64,
pub provider_cleanup_confirmed_count: u64,
pub provider_cleanup_timed_out_count: u64,
pub provider_cleanup_unknown_count: u64,
}Expand description
Process-local, redacted lifecycle counters. These deliberately use fixed fields rather than provider, command, process, or thread labels so callers can monitor lifecycle health without exposing execution details.
Fields§
§shutdown_drain_count: u64§clean_shutdown_count: u64§deadline_exceeded_count: u64§persistence_failed_count: u64§restart_reconciliation_count: u64§lifecycle_persistence_failure_count: u64§shutdown_drain_duration_ms_total: u64§provider_cleanup_confirmed_count: u64§provider_cleanup_timed_out_count: u64§provider_cleanup_unknown_count: u64Trait Implementations§
Source§impl Clone for LifecycleMetricsSnapshot
impl Clone for LifecycleMetricsSnapshot
Source§impl Debug for LifecycleMetricsSnapshot
impl Debug for LifecycleMetricsSnapshot
Source§impl Default for LifecycleMetricsSnapshot
impl Default for LifecycleMetricsSnapshot
Source§impl<'de> Deserialize<'de> for LifecycleMetricsSnapshot
impl<'de> Deserialize<'de> for LifecycleMetricsSnapshot
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
impl Eq for LifecycleMetricsSnapshot
Source§impl PartialEq for LifecycleMetricsSnapshot
impl PartialEq for LifecycleMetricsSnapshot
Source§impl Serialize for LifecycleMetricsSnapshot
impl Serialize for LifecycleMetricsSnapshot
impl StructuralPartialEq for LifecycleMetricsSnapshot
Auto Trait Implementations§
impl Freeze for LifecycleMetricsSnapshot
impl RefUnwindSafe for LifecycleMetricsSnapshot
impl Send for LifecycleMetricsSnapshot
impl Sync for LifecycleMetricsSnapshot
impl Unpin for LifecycleMetricsSnapshot
impl UnsafeUnpin for LifecycleMetricsSnapshot
impl UnwindSafe for LifecycleMetricsSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.