pub struct Metrics {Show 19 fields
pub new_entries_local: Counter,
pub new_entries_remote: Counter,
pub new_entries_local_size: Counter,
pub new_entries_remote_size: Counter,
pub sync_via_accept_success: Counter,
pub sync_via_accept_failure: Counter,
pub sync_via_connect_success: Counter,
pub sync_via_connect_failure: Counter,
pub actor_tick_main: Counter,
pub doc_gossip_tick_main: Counter,
pub doc_gossip_tick_event: Counter,
pub doc_gossip_tick_actor: Counter,
pub doc_gossip_tick_pending_join: Counter,
pub doc_live_tick_main: Counter,
pub doc_live_tick_actor: Counter,
pub doc_live_tick_replica_event: Counter,
pub doc_live_tick_running_sync_connect: Counter,
pub doc_live_tick_running_sync_accept: Counter,
pub doc_live_tick_pending_downloads: Counter,
}
Expand description
Metrics for iroh-docs
Fields§
§new_entries_local: Counter
Number of document entries added locally
new_entries_remote: Counter
Number of document entries added by peers
new_entries_local_size: Counter
Total size of entry contents added locally
new_entries_remote_size: Counter
Total size of entry contents added by peers
sync_via_accept_success: Counter
Number of successful syncs (via accept)
sync_via_accept_failure: Counter
Number of failed syncs (via accept)
sync_via_connect_success: Counter
Number of successful syncs (via connect)
sync_via_connect_failure: Counter
Number of failed syncs (via connect)
actor_tick_main: Counter
Number of times the main actor loop ticked
doc_gossip_tick_main: Counter
Number of times the gossip actor loop ticked
doc_gossip_tick_event: Counter
Number of times the gossip actor processed an event
doc_gossip_tick_actor: Counter
Number of times the gossip actor processed an actor event
doc_gossip_tick_pending_join: Counter
Number of times the gossip actor processed a pending join
doc_live_tick_main: Counter
Number of times the live actor loop ticked
doc_live_tick_actor: Counter
Number of times the live actor processed an actor event
doc_live_tick_replica_event: Counter
Number of times the live actor processed a replica event
doc_live_tick_running_sync_connect: Counter
Number of times the live actor processed a running sync connect
doc_live_tick_running_sync_accept: Counter
Number of times the live actor processed a running sync accept
doc_live_tick_pending_downloads: Counter
Number of times the live actor processed a pending download
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoIterable for Twhere
T: Iterable,
impl<T> IntoIterable for Twhere
T: Iterable,
§fn as_iterable(&self) -> &dyn Iterable
fn as_iterable(&self) -> &dyn Iterable
self
as dyn Iterable