pub struct WorkflowSupervisorMetricSnapshot {
pub cycles_started: u64,
pub active_cycles: usize,
pub peak_active_cycles: usize,
pub idle_polls: u64,
pub completed: u64,
pub retried: u64,
pub suspended: u64,
pub failed: u64,
pub definitions_unavailable: u64,
pub leases_lost: u64,
pub infrastructure_errors: u64,
pub backoffs: u64,
}Expand description
Point-in-time, low-cardinality supervisor metric values.
Fields§
§cycles_started: u64Claim-and-execute cycles started, including idle polls.
active_cycles: usizeCycles currently polling, sleeping, or executing.
peak_active_cycles: usizeHighest observed active-cycle count.
idle_polls: u64Polls that found no eligible task.
completed: u64Workflows durably completed.
retried: u64Workflows durably returned to the queue.
suspended: u64Workflows durably suspended without retaining a worker.
failed: u64Workflows durably failed.
Claims returned because their definition was unavailable.
leases_lost: u64Executions that lost or could not prove lease ownership.
infrastructure_errors: u64Worker cycles that returned an infrastructure error.
backoffs: u64Backoff delays scheduled.
Trait Implementations§
Source§impl Clone for WorkflowSupervisorMetricSnapshot
impl Clone for WorkflowSupervisorMetricSnapshot
Source§fn clone(&self) -> WorkflowSupervisorMetricSnapshot
fn clone(&self) -> WorkflowSupervisorMetricSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorkflowSupervisorMetricSnapshot
Source§impl Default for WorkflowSupervisorMetricSnapshot
impl Default for WorkflowSupervisorMetricSnapshot
Source§fn default() -> WorkflowSupervisorMetricSnapshot
fn default() -> WorkflowSupervisorMetricSnapshot
Returns the “default value” for a type. Read more
impl Eq for WorkflowSupervisorMetricSnapshot
impl StructuralPartialEq for WorkflowSupervisorMetricSnapshot
Auto Trait Implementations§
impl Freeze for WorkflowSupervisorMetricSnapshot
impl RefUnwindSafe for WorkflowSupervisorMetricSnapshot
impl Send for WorkflowSupervisorMetricSnapshot
impl Sync for WorkflowSupervisorMetricSnapshot
impl Unpin for WorkflowSupervisorMetricSnapshot
impl UnsafeUnpin for WorkflowSupervisorMetricSnapshot
impl UnwindSafe for WorkflowSupervisorMetricSnapshot
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