pub struct NoOpMetricsCollector;Expand description
No-op metrics collector used by default in tests and skeleton deployments.
Trait Implementations§
Source§impl Debug for NoOpMetricsCollector
impl Debug for NoOpMetricsCollector
Source§impl Default for NoOpMetricsCollector
impl Default for NoOpMetricsCollector
Source§fn default() -> NoOpMetricsCollector
fn default() -> NoOpMetricsCollector
Returns the “default value” for a type. Read more
Source§impl MetricsCollector for NoOpMetricsCollector
impl MetricsCollector for NoOpMetricsCollector
Source§fn record_event_processed(&self, _op: Operation, _latency_ms: u64)
fn record_event_processed(&self, _op: Operation, _latency_ms: u64)
Record the observed latency for a processed event.
Source§fn record_checkpoint_committed(&self, _event_count: u64, _latency_ms: u64)
fn record_checkpoint_committed(&self, _event_count: u64, _latency_ms: u64)
Record checkpoint commit throughput and latency.
Source§fn record_replication_lag_ms(&self, _lag_ms: u64, _lag_events: u64)
fn record_replication_lag_ms(&self, _lag_ms: u64, _lag_events: u64)
Record replication lag in milliseconds and events.
Source§fn record_error(&self, _error: &Error, _context: &str)
fn record_error(&self, _error: &Error, _context: &str)
Record a typed error with an execution context label.
Auto Trait Implementations§
impl Freeze for NoOpMetricsCollector
impl RefUnwindSafe for NoOpMetricsCollector
impl Send for NoOpMetricsCollector
impl Sync for NoOpMetricsCollector
impl Unpin for NoOpMetricsCollector
impl UnsafeUnpin for NoOpMetricsCollector
impl UnwindSafe for NoOpMetricsCollector
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