Is there a way to get stats for my self-hosted ser...
# ask-ai
p
Is there a way to get stats for my self-hosted server similar to the LiveKit Cloud dashboard?
t
Thanks for reaching out, Yassine. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m glad you asked. You can get stats for a self-hosted LiveKit server similar to what LiveKit Cloud shows. What’s available • LiveKit’s server includes a built‑in telemetry/analytics endpoint that emits real‑time media metrics (track-level stats, bitrate, frame rate, packet loss, simulcast layer changes, bytes in/out, session duration, connection quality, etc.). • The full LiveKit Cloud dashboard isn’t bundled with the OSS server, but the telemetry stream gives you the same raw data you need to build equivalent dashboards or export to monitoring tools. How you can use it 1. Collect telemetry from the server: ◦ Enable LiveKit’s telemetry/analytics export on your server to stream the metrics you want. 1. Export or ingest metrics into external systems: ◦ Send telemetry to Prometheus, Grafana, Datadog, or another monitoring/analytics backend to visualize and alert on metrics. 1. Build a custom dashboard: ◦ Use the telemetry fields (bitrate, fps, packet loss, simulcast layer changes, participant/session counts) to recreate the charts and real‑time views you need. Next steps I can help with • If you want, tell me which metrics you most care about (e.g., per-track bitrate and packet loss, participant counts, CPU/memory of the SFU), and I’ll outline the specific telemetry fields to collect and a suggested pipeline (e.g., HTTP/GRPC endpoint -> Prometheus exporter -> Grafana dashboard). • Or share your server setup (how you deployed LiveKit and what monitoring tools you already use) and I’ll give a more concrete configuration plan. Which option would you like to do next? Sources: Announcing LiveKit Cloud | server-sdk-go | livekit/livekit_composite | DeepWiki
p
I'm deployed my self-hosted LiveKit in a simple way. I saw that the LiveKit Cloud dashboard contains all the metrics like platform bandwidth, rooms, etc., and I want to create a similar dashboard.
t
Thanks — that’s a great goal and absolutely doable. I can help you recreate a dashboard like LiveKit Cloud for your self‑hosted deployment. Quick acknowledgement of your request • You want platform-level metrics (bandwidth, rooms, participants, etc.) and room/track metrics (bitrates, FPS, packet loss, simulcast layers) similar to the LiveKit Cloud dashboard. Before I give a tailored plan, I need a few details about your current setup: 1. How did you deploy LiveKit? (single server Docker Compose, Kubernetes, VM, etc.) 2. Which monitoring/observability tools do you already use or prefer? (Prometheus + Grafana, Datadog, Loki, Elasticsearch/Kibana, etc.) 3. Which specific metrics are highest priority for your dashboard? Examples: total platform bandwidth, active rooms, active participants, per-room bitrate, packet loss, CPU/memory of SFU, per-track FPS, simulcast layer switches. 4. Do you want real-time streaming-style charts (seconds resolution) or aggregate/day-level metrics and historical trends? What I can recommend next (pick one) • If you want a ready-made path: I’ll outline step-by-step how to enable LiveKit telemetry, export it to Prometheus, and build key Grafana panels for platform and per-room views. • If you prefer Datadog or another vendor: I’ll show how to export telemetry to that service and what dashboards to build there. • If you want minimal setup: I’ll suggest a lean pipeline (telemetry -> simple collector -> time-series DB -> Grafana) and list the exact telemetry fields to collect for each dashboard card. If you tell me your deployment method and preferred monitoring stack (answers to 1 and 2 above), I’ll return a concrete configuration and a prioritized list of panels and queries to build the dashboard.
p
so there is no apis availabe that wil took my keys and return metrics ? do i need to set up in my erver ?
t
Thanks — good question. To answer directly: there isn’t a hosted API where you can hand over your keys and get the LiveKit Cloud style dashboard for a self‑hosted server. You will need to enable and export the server’s telemetry from your own deployment and send it to a monitoring backend (Prometheus, Datadog, Grafana Cloud, etc.) to build the dashboard. What you need to do (high level) • Enable LiveKit’s built‑in telemetry/analytics export on your server so it emits the real‑time metrics (track bitrates, FPS, packet loss, simulcast events, bytes in/out, sessions, participant counts, etc.). • Install or configure a collector/ingestion path to capture that telemetry (for example, a Prometheus exporter or a small forwarder that sends metrics to Datadog/Influx/Grafana Cloud). • Create dashboards/alerts in your monitoring tool using the telemetry fields to show platform-level and room/track-level views. Concrete next steps you can follow 1. Tell me how you deployed LiveKit (Docker Compose, Kubernetes, single VM). 2. Tell me which monitoring stack you prefer (Prometheus + Grafana, Datadog, Grafana Cloud, etc.). Once you provide that, I’ll give a short step‑by‑step for your exact setup — including the telemetry fields to collect, recommended exporter/forwarder, and example Grafana panels or Datadog widgets to recreate the Cloud dashboard. If you want a minimal recommendation now: enable telemetry on the server and forward it to Prometheus, then use Grafana to build platform cards (total bandwidth, active rooms, active participants, SFU CPU/memory) and room/track panels (per-track bitrate, FPS, packet loss, simulcast layer).