pub struct WriterStageObservation {
pub queue_wait_micros: u64,
pub transaction_acquire_micros: u64,
pub body_micros: u64,
pub commit_micros: u64,
pub total_micros: u64,
pub queue_depth_at_entry: u64,
pub observed_at_unix_ms: u64,
pub labels: Vec<String>,
pub labels_truncated: Option<u64>,
}Expand description
Latest completed writer-task span for one database, decomposed at the
boundaries an operator can act on (#1849). A zero value means that phase
did not run (top-level/early-failure request) or completed below the
microsecond clock resolution; total_micros retains the full span.
Fields§
§queue_wait_micros: u64§transaction_acquire_micros: u64§body_micros: u64§commit_micros: u64§total_micros: u64§queue_depth_at_entry: u64§observed_at_unix_ms: u64§labels: Vec<String>Distinct labels the drained request ran, in first-seen order,
deduplicated and bounded at MAX_WRITE_LABELS. Resolved only for a
write that crossed the slow-write threshold, so empty for every write
below it; also empty when no statement in the request carried a label
and the submit site had no name in hand — e.g. an opaque closure from
a caller with no &'static str operation.
labels_truncated: Option<u64>Distinct labels dropped past MAX_WRITE_LABELS, when the request
named more; None when nothing was dropped.
Trait Implementations§
Source§impl Clone for WriterStageObservation
impl Clone for WriterStageObservation
Source§impl Debug for WriterStageObservation
impl Debug for WriterStageObservation
impl Eq for WriterStageObservation
Source§impl PartialEq for WriterStageObservation
impl PartialEq for WriterStageObservation
impl StructuralPartialEq for WriterStageObservation
Auto Trait Implementations§
impl Freeze for WriterStageObservation
impl RefUnwindSafe for WriterStageObservation
impl Send for WriterStageObservation
impl Sync for WriterStageObservation
impl Unpin for WriterStageObservation
impl UnsafeUnpin for WriterStageObservation
impl UnwindSafe for WriterStageObservation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more