Skip to main content
This guide sets up production observability for a Livepeer Gateway using Prometheus and Grafana. The Gateway must already be running
  • for quick verification, see .
For on-chain Gateways, Prometheus metrics complement but do not replace
  • contract events and deposit state require separate monitoring.

Enable Metrics

Add the -monitor flag when starting the Gateway. Without it, the /metrics endpoint is not exposed.
Enable Metrics
Monitoring flags: Verify metrics are exposed:
Verify Metrics
Prometheus-format output with livepeer_ prefixed metric names confirms the endpoint is active.

Setup

Key Metrics

Grafana Dashboards

The livepeer/livepeer-monitoring Docker stack includes three starter Grafana dashboards:
Active sessions, success rate, transcoding latency, and Orchestrator connectivity. The primary operational dashboard for day-to-day monitoring.
ETH deposit and reserve over time, ticket value sent, and payment creation errors. Critical for on-chain Gateways to track deposit depletion rate.
Realtime ratios, latency distribution (p50, p95, p99), and segment success/failure breakdown. Useful for identifying quality degradation patterns.
Access Grafana at http://localhost:3000 (default credentials admin / admin). The starter dashboards are pre-configured to query the bundled Prometheus instance. Custom panels to consider adding:
  • Deposit depletion forecast (linear regression on livepeer_gateway_deposit over 24h)
  • Session count vs -maxSessions limit as a percentage gauge
  • AI discovery error rate overlaid with session count (correlation check)

Alert Rules

Critical

Critical Errors

Warning

Warning Errors

Prometheus Metrics

Full table of all livepeer_* metrics.

On-Chain Metrics

TicketBroker events and Arbitrum contract monitoring.

Tools & Dashboards

Explorer, Livepeer Tools, livepeer_cli.
Last modified on May 4, 2026