pub struct QueryMetrics {
pub ring0_events_in: u64,
pub ring0_events_out: u64,
pub ring0_events_dropped: u64,
pub ring0_total_ns: u64,
pub bridge_pending: u64,
pub bridge_backpressure_drops: u64,
pub bridge_batches_flushed: u64,
pub ring1_rows_flushed: u64,
pub pipelines_compiled: u64,
pub pipelines_fallback: u64,
}Expand description
Aggregated runtime metrics for a streaming query.
Fields§
§ring0_events_in: u64Total events submitted to Ring 0.
ring0_events_out: u64Events emitted from Ring 0 to bridges.
ring0_events_dropped: u64Events dropped by Ring 0 pipelines (filtered out).
ring0_total_ns: u64Cumulative Ring 0 processing time in nanoseconds.
bridge_pending: u64Events pending in bridge queues.
bridge_backpressure_drops: u64Events dropped due to bridge backpressure.
bridge_batches_flushed: u64Total batches flushed to Ring 1.
ring1_rows_flushed: u64Total rows flushed to Ring 1 across all batches.
pipelines_compiled: u64Number of compiled (JIT) pipelines.
pipelines_fallback: u64Number of fallback (interpreted) pipelines.
Trait Implementations§
Source§impl Clone for QueryMetrics
impl Clone for QueryMetrics
Source§fn clone(&self) -> QueryMetrics
fn clone(&self) -> QueryMetrics
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 QueryMetrics
impl Debug for QueryMetrics
Source§impl Default for QueryMetrics
impl Default for QueryMetrics
Source§fn default() -> QueryMetrics
fn default() -> QueryMetrics
Returns the “default value” for a type. Read more
Source§impl PartialEq for QueryMetrics
impl PartialEq for QueryMetrics
impl Eq for QueryMetrics
impl StructuralPartialEq for QueryMetrics
Auto Trait Implementations§
impl Freeze for QueryMetrics
impl RefUnwindSafe for QueryMetrics
impl Send for QueryMetrics
impl Sync for QueryMetrics
impl Unpin for QueryMetrics
impl UnsafeUnpin for QueryMetrics
impl UnwindSafe for QueryMetrics
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.