iroh_net::relay::serverStruct Metrics
Source 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,
}
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Available on crate feature iroh-relay
only.
Expand description
Metrics tracked for the relay server
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Bytes sent from a FrameType::SendPacket
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Bytes received from a FrameType::SendPacket
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
FrameType::SendPacket
sent, that are not disco messages
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
FrameType::SendPacket
received, that are not disco messages
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
FrameType::SendPacket
dropped, that are not disco messages
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
FrameType::SendPacket
sent that are disco messages
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
FrameType::SendPacket
received that are disco messages
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
FrameType::SendPacket
dropped that are disco messages
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Packets of other FrameType
s sent
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Packets of other FrameType
s received
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Packets of other FrameType
s dropped
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of FrameType::Ping
s received
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of FrameType::Pong
s sent
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of FrameType::Unknown
received
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of connections we have accepted
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of connections we have removed because of an error
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of unique client keys per day
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of accepted websocket connections
👎Deprecated: This crate has been renamed from ‘iroh-net’ to ‘iroh’, please use the new crate
Number of accepted ‘iroh derp http’ connection upgrades
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Returns the “default value” for a type.
Read more
Returns an iterator over the struct’s fields as tuples.
Read more
The name of this metric group.
Initializes this metric group.
Access to this metrics group to record a metric.
Only records if this metric is registered in the global registry.
Attempts to get the current metric from the global registry.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
🔬This is a nightly-only experimental API. (clone_to_uninit
)
Performs copy-assignment from
self
to
dst
.
Read more
Returns the argument unchanged.
Converts to this type from a reference to the input type.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning.
Read more
Uses borrowed data to replace owned data, usually by cloning.
Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.