pub struct QueueTelemetry {
pub enqueued: u64,
pub processed: u64,
pub dropped: u64,
pub high_water: u64,
pub in_flight: u64,
}Expand description
Snapshot of queue telemetry for operator dashboards.
Fields§
§enqueued: u64Total tasks enqueued (monotonic).
processed: u64Total tasks processed (monotonic).
dropped: u64Total tasks dropped (monotonic).
high_water: u64Maximum queue depth observed.
in_flight: u64Current in-flight: enqueued - processed. Drops are NOT subtracted:
every drop path rejects a task before it is counted as enqueued, so
subtracting dropped would permanently understate the backlog by the
cumulative drop total.
Trait Implementations§
Source§impl Clone for QueueTelemetry
impl Clone for QueueTelemetry
impl Copy for QueueTelemetry
Source§impl Debug for QueueTelemetry
impl Debug for QueueTelemetry
impl Eq for QueueTelemetry
Source§impl PartialEq for QueueTelemetry
impl PartialEq for QueueTelemetry
impl StructuralPartialEq for QueueTelemetry
Auto Trait Implementations§
impl Forget for QueueTelemetry
impl Freeze for QueueTelemetry
impl Move for QueueTelemetry
impl RefUnwindSafe for QueueTelemetry
impl Send for QueueTelemetry
impl Sync for QueueTelemetry
impl Unpin for QueueTelemetry
impl UnsafeUnpin for QueueTelemetry
impl UnwindSafe for QueueTelemetry
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