pub struct NoopMetricsRecorder;Expand description
No-op implementation for embedded/test use without metrics.
Trait Implementations§
Source§impl MetricsRecorder for NoopMetricsRecorder
impl MetricsRecorder for NoopMetricsRecorder
Source§fn record_step_completed(&self, _: &str, _: f64)
fn record_step_completed(&self, _: &str, _: f64)
Record a successful step completion with connector name and duration.
Source§fn record_step_failed(&self, _: &str)
fn record_step_failed(&self, _: &str)
Record a step failure with connector name.
Source§fn record_connector_invocation(&self, _: &str)
fn record_connector_invocation(&self, _: &str)
Record a connector invocation (before execution).
Source§fn record_contextstore_write(&self)
fn record_contextstore_write(&self)
Record a ContextStore write operation.
Source§fn record_flow_completed(&self)
fn record_flow_completed(&self)
Record a flow run completing successfully.
Source§fn record_flow_failed(&self)
fn record_flow_failed(&self)
Record a flow run failing.
Auto Trait Implementations§
impl Freeze for NoopMetricsRecorder
impl RefUnwindSafe for NoopMetricsRecorder
impl Send for NoopMetricsRecorder
impl Sync for NoopMetricsRecorder
impl Unpin for NoopMetricsRecorder
impl UnsafeUnpin for NoopMetricsRecorder
impl UnwindSafe for NoopMetricsRecorder
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