Skip to main content

NodeStats

Struct NodeStats 

Source
pub struct NodeStats {
Show 56 fields pub started_at: i64, pub updated_at: i64, pub num_rooms: i32, pub num_clients: i32, pub num_tracks_in: i32, pub num_tracks_out: i32, pub num_track_publish_attempts: i32, pub track_publish_attempts_per_sec: f32, pub num_track_publish_success: i32, pub track_publish_success_per_sec: f32, pub num_track_publish_cancels: i32, pub num_track_subscribe_attempts: i32, pub track_subscribe_attempts_per_sec: f32, pub num_track_subscribe_success: i32, pub track_subscribe_success_per_sec: f32, pub num_track_subscribe_cancels: i32, pub bytes_in: u64, pub bytes_out: u64, pub packets_in: u64, pub packets_out: u64, pub nack_total: u64, pub bytes_in_per_sec: f32, pub bytes_out_per_sec: f32, pub packets_in_per_sec: f32, pub packets_out_per_sec: f32, pub nack_per_sec: f32, pub num_cpus: u32, pub load_avg_last1min: f32, pub load_avg_last5min: f32, pub load_avg_last15min: f32, pub cpu_load: f32, pub memory_load: f32, pub memory_total: u64, pub memory_used: u64, pub sys_packets_out: u32, pub sys_packets_dropped: u32, pub sys_packets_out_per_sec: f32, pub sys_packets_dropped_per_sec: f32, pub sys_packets_dropped_pct_per_sec: f32, pub retransmit_bytes_out: u64, pub retransmit_packets_out: u64, pub retransmit_bytes_out_per_sec: f32, pub retransmit_packets_out_per_sec: f32, pub participant_signal_connected: u64, pub participant_signal_connected_per_sec: f32, pub participant_signal_failed: u64, pub participant_signal_validation_failed: u64, pub participant_rtc_connected: u64, pub participant_rtc_connected_per_sec: f32, pub participant_rtc_init: u64, pub participant_rtc_init_per_sec: f32, pub participant_rtc_canceled: u64, pub participant_rtc_active: u64, pub forward_latency: u32, pub forward_jitter: u32, pub rates: Vec<NodeStatsRate>,
}

Fields§

§started_at: i64

when server was started

§updated_at: i64

when server last reported its status

§num_rooms: i32

room

§num_clients: i32§num_tracks_in: i32§num_tracks_out: i32§num_track_publish_attempts: i32§track_publish_attempts_per_sec: f32
👎Deprecated
§num_track_publish_success: i32§track_publish_success_per_sec: f32
👎Deprecated
§num_track_publish_cancels: i32§num_track_subscribe_attempts: i32§track_subscribe_attempts_per_sec: f32
👎Deprecated
§num_track_subscribe_success: i32§track_subscribe_success_per_sec: f32
👎Deprecated
§num_track_subscribe_cancels: i32§bytes_in: u64

packet

§bytes_out: u64§packets_in: u64§packets_out: u64§nack_total: u64§bytes_in_per_sec: f32
👎Deprecated
§bytes_out_per_sec: f32
👎Deprecated
§packets_in_per_sec: f32§packets_out_per_sec: f32
👎Deprecated
§nack_per_sec: f32
👎Deprecated
§num_cpus: u32

system

§load_avg_last1min: f32§load_avg_last5min: f32§load_avg_last15min: f32§cpu_load: f32§memory_load: f32
👎Deprecated
§memory_total: u64§memory_used: u64§sys_packets_out: u32§sys_packets_dropped: u32§sys_packets_out_per_sec: f32
👎Deprecated
§sys_packets_dropped_per_sec: f32
👎Deprecated
§sys_packets_dropped_pct_per_sec: f32
👎Deprecated
§retransmit_bytes_out: u64

retransmissions

§retransmit_packets_out: u64§retransmit_bytes_out_per_sec: f32
👎Deprecated
§retransmit_packets_out_per_sec: f32
👎Deprecated
§participant_signal_connected: u64

participant joins

§participant_signal_connected_per_sec: f32
👎Deprecated
§participant_signal_failed: u64
👎Deprecated
§participant_signal_validation_failed: u64
👎Deprecated
§participant_rtc_connected: u64§participant_rtc_connected_per_sec: f32
👎Deprecated
§participant_rtc_init: u64§participant_rtc_init_per_sec: f32
👎Deprecated
§participant_rtc_canceled: u64§participant_rtc_active: u64§forward_latency: u32

forward metrics

§forward_jitter: u32
👎Deprecated
§rates: Vec<NodeStatsRate>

Trait Implementations§

Source§

impl Clone for NodeStats

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NodeStats

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for NodeStats

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl<'de> Deserialize<'de> for NodeStats

§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Message for NodeStats

Source§

fn encoded_len(&self) -> usize

Returns the encoded length of the message without a length delimiter.
Source§

fn clear(&mut self)

Clears the message, resetting all fields to their default.
Source§

fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message to a buffer. Read more
Source§

fn encode_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized,

Encodes the message to a newly allocated buffer.
Source§

fn encode_length_delimited( &self, buf: &mut impl BufMut, ) -> Result<(), EncodeError>
where Self: Sized,

Encodes the message with a length-delimiter to a buffer. Read more
Source§

fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘ
where Self: Sized,

Encodes the message with a length-delimiter to a newly allocated buffer.
Source§

fn decode(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes an instance of the message from a buffer. Read more
Source§

fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>
where Self: Default,

Decodes a length-delimited instance of the message from the buffer.
Source§

fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes an instance of the message from a buffer, and merges it into self. Read more
Source§

fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>
where Self: Sized,

Decodes a length-delimited instance of the message from buffer, and merges it into self.
Source§

impl PartialEq for NodeStats

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
§

impl Serialize for NodeStats

§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for NodeStats

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.