pub struct QueueEvent {
pub request_id: String,
pub queue: String,
pub waited_from_unix_ms: u64,
pub waited_from_run_us: Option<u64>,
pub waited_until_unix_ms: u64,
pub waited_until_run_us: Option<u64>,
pub wait_us: u64,
pub depth_at_start: Option<u64>,
}Expand description
Queue wait measurement for a request waiting on a queue/permit.
Duration fields are authoritative for elapsed-time analysis; Unix-ms timestamps are wall-clock anchors for correlation, readability, and coarse grouping, and may be coarse or move with system clock changes.
Fields§
§request_id: StringParent tailtriage request ID for the same logical request/work item.
This must match a completed RequestEvent::request_id and must not
be reused for evidence from a different logical request.
queue: StringQueue identifier.
waited_from_unix_ms: u64Queue wait start timestamp (milliseconds since epoch UTC).
waited_from_run_us: Option<u64>Queue wait start offset from run start, measured with a monotonic clock.
waited_until_unix_ms: u64Queue wait end timestamp (milliseconds since epoch UTC).
waited_until_run_us: Option<u64>Queue wait end offset from run start, measured with a monotonic clock.
wait_us: u64Total wait time in microseconds.
depth_at_start: Option<u64>Queue depth sample captured at wait start, if known.
Trait Implementations§
Source§impl Clone for QueueEvent
impl Clone for QueueEvent
Source§fn clone(&self) -> QueueEvent
fn clone(&self) -> QueueEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for QueueEvent
impl Debug for QueueEvent
Source§impl<'de> Deserialize<'de> for QueueEvent
impl<'de> Deserialize<'de> for QueueEvent
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>,
impl Eq for QueueEvent
Source§impl PartialEq for QueueEvent
impl PartialEq for QueueEvent
Source§fn eq(&self, other: &QueueEvent) -> bool
fn eq(&self, other: &QueueEvent) -> bool
self and other values to be equal, and is used by ==.