pub struct Metrics {Show 21 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 frames_rx_ratelimited_total: Counter,
pub conns_rx_ratelimited_total: Counter,
pub accepts: Counter,
pub disconnects: Counter,
pub unique_client_keys: Counter,
pub websocket_accepts: Counter,
pub relay_accepts: Counter,
}
server
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
frames_rx_ratelimited_total: Counter
Number of frames received from client connection which have been rate-limited.
conns_rx_ratelimited_total: Counter
Number of client connections which have had any frames rate-limited.
accepts: Counter
Number of times this server has accepted a connection.
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
relay_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§
§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>
§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