Skip to main content

o_sfu_telemetry/graph/
mod.rs

1//! Grafana node graph formatting for diagnostics snapshots.
2//!
3//! This module is the last formatting step before the
4//! `/internal/diagnostics/node-graph/...` routes return JSON to the
5//! `o-sfu-telemetry` Grafana dashboard. The input is an already assembled
6//! diagnostics room detail, so these formatters do not query live runtime
7//! state, hold locks, or decide whether a route is valid.
8//!
9//! Graph formatting is a cold diagnostics path. Allocating strings and JSON
10//! values is acceptable here because the endpoint runs on demand after the room
11//! snapshot has already been collected.
12
13mod common;
14mod room;
15mod user;
16
17pub use self::{room::build_graph, user::build_user_graph};