Struct iroh_relay::server::Metrics
source · 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 derp_accepts: Counter,
}server only.Expand description
Metrics tracked for the relay server
Fields§
§bytes_sent: CounterBytes sent from a FrameType::SendPacket
bytes_recv: CounterBytes received from a FrameType::SendPacket
send_packets_sent: CounterFrameType::SendPacket sent, that are not disco messages
send_packets_recv: CounterFrameType::SendPacket received, that are not disco messages
send_packets_dropped: CounterFrameType::SendPacket dropped, that are not disco messages
disco_packets_sent: CounterFrameType::SendPacket sent that are disco messages
disco_packets_recv: CounterFrameType::SendPacket received that are disco messages
disco_packets_dropped: CounterFrameType::SendPacket dropped that are disco messages
other_packets_sent: CounterPackets of other FrameTypes sent
other_packets_recv: CounterPackets of other FrameTypes received
other_packets_dropped: CounterPackets of other FrameTypes dropped
got_ping: CounterNumber of FrameType::Pings received
sent_pong: CounterNumber of FrameType::Pongs sent
unknown_frames: CounterNumber of FrameType::Unknown received
frames_rx_ratelimited_total: CounterNumber of frames received from client connection which have been rate-limited.
conns_rx_ratelimited_total: CounterNumber of client connections which have had any frames rate-limited.
accepts: CounterNumber of connections we have accepted
disconnects: CounterNumber of connections we have removed because of an error
unique_client_keys: CounterNumber of unique client keys per day
websocket_accepts: CounterNumber of accepted websocket connections
derp_accepts: CounterNumber of accepted ‘iroh derp http’ connection upgrades