pub struct Metrics {
pub download_bytes_total: Counter,
pub download_time_total: Counter,
pub downloads_success: Counter,
pub downloads_error: Counter,
pub downloads_notfound: Counter,
pub downloader_tick_main: Counter,
pub downloader_tick_connection_ready: Counter,
pub downloader_tick_message_received: Counter,
pub downloader_tick_transfer_completed: Counter,
pub downloader_tick_transfer_failed: Counter,
pub downloader_tick_retry_node: Counter,
pub downloader_tick_goodbye_node: Counter,
}
Expand description
Enum of metrics for the module
Fields§
§download_bytes_total: Counter
Total number of content bytes downloaded
download_time_total: Counter
Total time in ms spent downloading content bytes
downloads_success: Counter
Total number of successful downloads
downloads_error: Counter
Total number of downloads failed with error
downloads_notfound: Counter
Total number of downloads failed with not found
downloader_tick_main: Counter
Number of times the main pub downloader actor loop ticked
downloader_tick_connection_ready: Counter
Number of times the pub downloader actor ticked for a connection ready
downloader_tick_message_received: Counter
Number of times the pub downloader actor ticked for a message received
downloader_tick_transfer_completed: Counter
Number of times the pub downloader actor ticked for a transfer completed
downloader_tick_transfer_failed: Counter
Number of times the pub downloader actor ticked for a transfer failed
downloader_tick_retry_node: Counter
Number of times the pub downloader actor ticked for a retry node
downloader_tick_goodbye_node: Counter
Number of times the pub downloader actor ticked for a goodbye node
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
Mutably borrows from an owned value. Read more
§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
Returns
self
as dyn Iterable
§fn field_iter(&self) -> FieldIter<'_>
fn field_iter(&self) -> FieldIter<'_>
Returns an iterator over the fields of the struct.