pub struct ConsoleTelemetry;Expand description
Prints telemetry events to stderr via tracing.
Trait Implementations§
Source§impl Clone for ConsoleTelemetry
impl Clone for ConsoleTelemetry
Source§fn clone(&self) -> ConsoleTelemetry
fn clone(&self) -> ConsoleTelemetry
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 moreSource§impl Debug for ConsoleTelemetry
impl Debug for ConsoleTelemetry
Source§impl Default for ConsoleTelemetry
impl Default for ConsoleTelemetry
Source§fn default() -> ConsoleTelemetry
fn default() -> ConsoleTelemetry
Returns the “default value” for a type. Read more
Source§impl Telemetry for ConsoleTelemetry
impl Telemetry for ConsoleTelemetry
Source§fn on_execution_start(&self, graph_name: &str, batch_size: usize)
fn on_execution_start(&self, graph_name: &str, batch_size: usize)
Called at the start of a graph execution.
Source§fn on_execution_end(&self, graph_name: &str, duration: Duration)
fn on_execution_end(&self, graph_name: &str, duration: Duration)
Called at the end of a graph execution.
Source§fn on_op_executed(&self, op_name: &str, duration: Duration)
fn on_op_executed(&self, op_name: &str, duration: Duration)
Per-operator latency.
Source§fn on_batch_formed(&self, size: usize, wait_us: u64)
fn on_batch_formed(&self, size: usize, wait_us: u64)
Batch formed.
Source§fn on_request_queued(&self)
fn on_request_queued(&self)
Request queued.
Source§fn on_request_completed(&self, latency_us: u64)
fn on_request_completed(&self, latency_us: u64)
Request completed.
impl Copy for ConsoleTelemetry
Auto Trait Implementations§
impl Freeze for ConsoleTelemetry
impl RefUnwindSafe for ConsoleTelemetry
impl Send for ConsoleTelemetry
impl Sync for ConsoleTelemetry
impl Unpin for ConsoleTelemetry
impl UnsafeUnpin for ConsoleTelemetry
impl UnwindSafe for ConsoleTelemetry
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