pub struct BatchingStats {
pub span_count: usize,
pub metric_count: usize,
pub log_count: usize,
pub span_dropped: u64,
pub metric_dropped: u64,
pub log_dropped: u64,
pub memory_usage: usize,
pub last_flush: Instant,
}Expand description
Statistics about batching buffers
Fields§
§span_count: usize§metric_count: usize§log_count: usize§span_dropped: u64§metric_dropped: u64§log_dropped: u64§memory_usage: usize§last_flush: InstantImplementations§
Source§impl BatchingStats
impl BatchingStats
pub fn total_items(&self) -> usize
pub fn total_dropped(&self) -> u64
Trait Implementations§
Source§impl Clone for BatchingStats
impl Clone for BatchingStats
Auto Trait Implementations§
impl Forget for BatchingStats
impl Freeze for BatchingStats
impl Move for BatchingStats
impl RefUnwindSafe for BatchingStats
impl Send for BatchingStats
impl Sync for BatchingStats
impl Unpin for BatchingStats
impl UnsafeUnpin for BatchingStats
impl UnwindSafe for BatchingStats
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