pub struct Counters {
pub events_tracked: AtomicU64,
pub events_dropped_mpsc: AtomicU64,
pub events_dropped_disk: AtomicU64,
pub segments_posted: AtomicU64,
pub bytes_sent: AtomicU64,
pub last_post_unix_ms: AtomicI64,
}Expand description
In-process atomic counters for observability. Shared between Telemetry and SenderRuntime.
Fields§
§events_tracked: AtomicU64§events_dropped_mpsc: AtomicU64§events_dropped_disk: AtomicU64§segments_posted: AtomicU64§bytes_sent: AtomicU64§last_post_unix_ms: AtomicI64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Counters
impl RefUnwindSafe for Counters
impl Send for Counters
impl Sync for Counters
impl Unpin for Counters
impl UnsafeUnpin for Counters
impl UnwindSafe for Counters
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