o_sfu_telemetry/metrics/
mod.rs1mod catalog;
2mod counter;
3mod descriptor;
4mod labels;
5mod rtc;
6mod rtp;
7
8#[cfg(any(test, feature = "test-support"))]
9#[path = "TESTS/snapshot.rs"]
10mod snapshot;
11
12#[cfg(any(test, feature = "test-support"))]
13#[path = "TESTS/test_support.rs"]
14pub mod test_support;
15
16#[cfg(test)]
17#[expect(non_snake_case, reason = "test modules map to local TESTS directories")]
18mod TESTS;
19
20#[cfg(test)]
21pub(crate) use descriptor::METRIC_FAMILY_COUNT;
22pub(crate) use descriptor::render_prometheus_text;
23#[cfg(any(test, feature = "test-support"))]
24pub use snapshot::RuntimeMetricsSnapshot;
25
26pub use self::{
27 catalog::RuntimeMetrics,
28 descriptor::{MetricName, RoomGaugeValues},
29 labels::{
30 BudgetSolverOutcome, HttpRoute, MediaQualityLossDirection, MediaQualitySample,
31 RtcDatagramDropReason, RtcDatagramRoutePath, RtcDrainFailureStage, RtcInputFailure,
32 RtcKeyframeRequestOutcome, RtcNackDirection, RtcOutputBudgetLimit,
33 RtcProducerSsrcBindingOutcome, RtcRelayEnqueueResult, RtcRemoteControlDropKind,
34 RtcRemotePacketGateConvergence, RtcRouteControlOutcome, RtcTransportIoFailure,
35 RtcWorkerObservationKind, RtpDecoderRefreshScope, RtpForwardDestinationKind,
36 RtpRelayDropKind, SourceSelectionKind, TransportHealthState, TransportIceState,
37 WsPreAuthRejection, WsSessionLoopExitReason,
38 },
39 rtc::RtcMetricsRecorder,
40 rtp::RtpMetricsRecorder,
41};