pub struct Metrics {Show 19 fields
pub bytes_sent: Counter,
pub bytes_recv: Counter,
pub send_packets_sent: Counter,
pub send_packets_recv: Counter,
pub send_packets_dropped: Counter,
pub disco_packets_sent: Counter,
pub disco_packets_recv: Counter,
pub disco_packets_dropped: Counter,
pub other_packets_sent: Counter,
pub other_packets_recv: Counter,
pub other_packets_dropped: Counter,
pub got_ping: Counter,
pub sent_pong: Counter,
pub unknown_frames: Counter,
pub accepts: Counter,
pub disconnects: Counter,
pub unique_client_keys: Counter,
pub websocket_accepts: Counter,
pub derp_accepts: Counter,
}
iroh-relay
only.Expand description
Metrics tracked for the relay server
Fields§
§bytes_sent: Counter
Bytes sent from a FrameType::SendPacket
bytes_recv: Counter
Bytes received from a FrameType::SendPacket
send_packets_sent: Counter
FrameType::SendPacket
sent, that are not disco messages
send_packets_recv: Counter
FrameType::SendPacket
received, that are not disco messages
send_packets_dropped: Counter
FrameType::SendPacket
dropped, that are not disco messages
disco_packets_sent: Counter
FrameType::SendPacket
sent that are disco messages
disco_packets_recv: Counter
FrameType::SendPacket
received that are disco messages
disco_packets_dropped: Counter
FrameType::SendPacket
dropped that are disco messages
other_packets_sent: Counter
Packets of other FrameType
s sent
other_packets_recv: Counter
Packets of other FrameType
s received
other_packets_dropped: Counter
Packets of other FrameType
s dropped
got_ping: Counter
Number of FrameType::Ping
s received
sent_pong: Counter
Number of FrameType::Pong
s sent
unknown_frames: Counter
Number of FrameType::Unknown
received
accepts: Counter
Number of connections we have accepted
disconnects: Counter
Number of connections we have removed because of an error
unique_client_keys: Counter
Number of unique client keys per day
websocket_accepts: Counter
Number of accepted websocket connections
derp_accepts: Counter
Number of accepted ‘iroh derp http’ connection upgrades
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§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)