struct ActorMetricState {Show 14 fields
last_sample_at: Instant,
inbound_ewma: f64,
outbound_ewma: f64,
inbound_count: u64,
outbound_count: u64,
inbound_delta: u64,
outbound_delta: u64,
latency_histogram: LatencyHistogram,
state_size_bytes: u64,
queue_depth: usize,
gpu_utilization: f32,
tenant_id: u64,
hlc_node_id: u64,
initialized: bool,
}Expand description
Per-actor mutable state tracked by MetricAggregator.
Fields§
§last_sample_at: Instant§inbound_ewma: f64§outbound_ewma: f64§inbound_count: u64§outbound_count: u64§inbound_delta: u64§outbound_delta: u64§latency_histogram: LatencyHistogram§state_size_bytes: u64§queue_depth: usize§gpu_utilization: f32§tenant_id: u64§hlc_node_id: u64§initialized: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ActorMetricState
impl RefUnwindSafe for ActorMetricState
impl Send for ActorMetricState
impl Sync for ActorMetricState
impl Unpin for ActorMetricState
impl UnwindSafe for ActorMetricState
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.