#[repr(i32)]pub enum MetricLabel {
Show 21 variants
AgentsLlmTtft = 0,
AgentsSttTtft = 1,
AgentsTtsTtfb = 2,
ClientVideoSubscriberFreezeCount = 3,
ClientVideoSubscriberTotalFreezeDuration = 4,
ClientVideoSubscriberPauseCount = 5,
ClientVideoSubscriberTotalPausesDuration = 6,
ClientAudioSubscriberConcealedSamples = 7,
ClientAudioSubscriberSilentConcealedSamples = 8,
ClientAudioSubscriberConcealmentEvents = 9,
ClientAudioSubscriberInterruptionCount = 10,
ClientAudioSubscriberTotalInterruptionDuration = 11,
ClientSubscriberJitterBufferDelay = 12,
ClientSubscriberJitterBufferEmittedCount = 13,
ClientVideoPublisherQualityLimitationDurationBandwidth = 14,
ClientVideoPublisherQualityLimitationDurationCpu = 15,
ClientVideoPublisherQualityLimitationDurationOther = 16,
PublisherRtt = 17,
ServerMeshRtt = 18,
SubscriberRtt = 19,
PredefinedMaxValue = 4_096,
}
Expand description
index from [0: MAX_LABEL_PREDEFINED_MAX_VALUE) are for predefined labels (MetricLabel
)
Variants§
AgentsLlmTtft = 0
time to first token from LLM
AgentsSttTtft = 1
time to final transcription
AgentsTtsTtfb = 2
time to first byte
ClientVideoSubscriberFreezeCount = 3
Number of video freezes
ClientVideoSubscriberTotalFreezeDuration = 4
total duration of freezes
ClientVideoSubscriberPauseCount = 5
number of video pauses
ClientVideoSubscriberTotalPausesDuration = 6
total duration of pauses
ClientAudioSubscriberConcealedSamples = 7
number of concealed (synthesized) audio samples
ClientAudioSubscriberSilentConcealedSamples = 8
number of silent concealed samples
ClientAudioSubscriberConcealmentEvents = 9
number of concealment events
ClientAudioSubscriberInterruptionCount = 10
number of interruptions
ClientAudioSubscriberTotalInterruptionDuration = 11
total duration of interruptions
ClientSubscriberJitterBufferDelay = 12
total time spent in jitter buffer
ClientSubscriberJitterBufferEmittedCount = 13
total time spent in jitter buffer
ClientVideoPublisherQualityLimitationDurationBandwidth = 14
total duration spent in bandwidth quality limitation
ClientVideoPublisherQualityLimitationDurationCpu = 15
total duration spent in cpu quality limitation
ClientVideoPublisherQualityLimitationDurationOther = 16
total duration spent in other quality limitation
PublisherRtt = 17
Publisher RTT (participant -> server)
ServerMeshRtt = 18
RTT between publisher node and subscriber node (could involve intermedia node(s))
SubscriberRtt = 19
Subscribe RTT (server -> participant)
PredefinedMaxValue = 4_096
Implementations§
Source§impl MetricLabel
impl MetricLabel
Source§impl MetricLabel
impl MetricLabel
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for MetricLabel
impl Clone for MetricLabel
Source§fn clone(&self) -> MetricLabel
fn clone(&self) -> MetricLabel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more