pub struct TreeTotals {
pub supervisors: usize,
pub workers: usize,
pub running: usize,
pub exited: usize,
pub registered: usize,
pub restarts: u64,
pub live_bytes: u64,
pub cpu_time_nanos: u64,
pub max_depth: usize,
}Expand description
Aggregate counts across a whole TreeSnapshot.
Fields§
§supervisors: usizeNumber of supervisors in the tree.
workers: usizeNumber of leaf workers in the tree.
running: usizeNumber of nodes currently running.
exited: usizeNumber of nodes that ran and have since exited without being restarted.
registered: usizeNumber of nodes that are declared but have never run.
restarts: u64Total restarts across every node in the tree.
live_bytes: u64Total live bytes across every distinct resource group in the tree.
Summed over groups rather than over nodes: several nodes can share one group, and their usage is one figure rather than one per node.
cpu_time_nanos: u64Total CPU time across every distinct resource group in the tree, in nanoseconds.
max_depth: usizeDepth of the deepest node, counting the root as 1.
Trait Implementations§
Source§impl Clone for TreeTotals
impl Clone for TreeTotals
Source§fn clone(&self) -> TreeTotals
fn clone(&self) -> TreeTotals
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 TreeTotals
impl Debug for TreeTotals
Source§impl Default for TreeTotals
impl Default for TreeTotals
Source§fn default() -> TreeTotals
fn default() -> TreeTotals
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TreeTotals
impl<'de> Deserialize<'de> for TreeTotals
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
Source§impl Serialize for TreeTotals
impl Serialize for TreeTotals
impl Copy for TreeTotals
Auto Trait Implementations§
impl Freeze for TreeTotals
impl RefUnwindSafe for TreeTotals
impl Send for TreeTotals
impl Sync for TreeTotals
impl Unpin for TreeTotals
impl UnwindSafe for TreeTotals
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestSource§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Track for T
impl<T> Track for T
§fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
fn track_resources(self, token: ResourceGroupToken) -> Tracked<Self>
Instruments this type by attaching the given resource group token, returning a
Tracked wrapper. Read more§fn in_current_resource_group(self) -> Tracked<Self>
fn in_current_resource_group(self) -> Tracked<Self>
Instruments this type by attaching the current resource group, returning a
Tracked wrapper. Read more