Skip to content

Metrics Catalog

Metrics are exposed by a separate metrics listener. See Metrics Monitoring for configuration.

Terminal window
curl -fsS \
-H "Authorization: Bearer $METRICS_TOKEN" \
http://localhost:9090/metrics
MetricTypeLabelsMeaning
http_requests_totalcountermethod, path, statusHTTP requests
http_request_duration_secondshistogrammethod, pathHTTP request duration
http_error_rate_totalcountermethod, path, error_typeHTTP errors
http_requests_in_flightgaugenoneIn-flight HTTP requests
websocket_connections_activegaugenoneActive WebSocket connections
websocket_connections_totalcounterstatusWebSocket connection attempts
websocket_messages_totalcounterdirection, typeWebSocket messages
websocket_errors_totalcountererror_typeWebSocket errors
websocket_connection_duration_secondshistogramnoneWebSocket connection duration
users_onlinegaugenoneOnline users
rooms_activegaugenoneActive rooms
MetricTypeLabelsMeaning
db_query_duration_secondshistogramoperation, tableDatabase query duration
db_operations_totalcounteroperation, table, resultDatabase operations
db_connections_activegaugenoneActive DB connections
db_connections_idlegaugenoneIdle DB connections
db_connections_waitinggaugenoneRequests waiting for a connection
db_pool_utilization_ratiogaugepoolPool utilization, from 0 to 1
db_connection_acquire_duration_secondshistogrampoolConnection acquire duration
db_query_errors_totalcounteroperation, error_typeDB query errors
cache_hits_totalcountercache_type, levelCache hits
cache_misses_totalcountercache_type, levelCache misses
cache_evictions_totalcountercache_typeCache evictions
cache_errors_totalcountercache_type, operationCache operation errors
cache_fill_duration_secondshistogramcache_typeCache fill duration
MetricTypeLabelsMeaning
chat_messages_totalcounternonePersisted chat messages
synctv_file_object_delete_attempts_totalcounterorigin, backendFile object delete attempts
synctv_file_object_delete_failures_totalcounterorigin, backendFile object delete failures
synctv_file_cleanup_jobs_duegaugenoneDue file cleanup jobs waiting for retry
synctv_file_cleanup_jobs_totalcounteraction, origin, backendFile cleanup retry job actions
playlist_items_totalcounternoneAdded playlist items
webrtc_peers_activegaugenoneActive WebRTC peers
active_connectionsgaugenoneActive connections
spawned_task_panics_totalcountertask_nameBackground task panics caught by spawn_monitored
rate_limit_checks_totalcounterbackend, categoryRate-limit checks
rate_limit_rejections_totalcounterbackend, categoryRate-limit rejections
rate_limit_redis_fallbacks_totalcountercategoryIn-memory fallback after Redis rate-limit errors
MetricTypeLabelsMeaning
synctv_cluster_connections_totalgaugenoneCluster connections on this node
synctv_realtime_events_published_totalcounterevent_typePublished realtime events
synctv_realtime_events_received_totalcounterevent_typeReceived realtime events
synctv_realtime_events_dropped_totalcounterreasonDropped realtime events
synctv_cluster_heartbeat_failuresgaugenoneConsecutive heartbeat failures
synctv_node_active_roomsgaugenoneActive rooms on this node
synctv_cluster_node_health_statusgaugenoneNode health status; 1 means healthy
synctv_cluster_leader_election_stategaugenoneLeader election state; 1 means leader
synctv_cluster_leader_election_epochgaugenoneCurrent leader epoch
synctv_cluster_leader_election_consecutive_failuresgaugenoneConsecutive leader election failures
synctv_cluster_epoch_mismatch_quarantinegaugenoneEpoch mismatch quarantine state
synctv_cluster_redis_pubsub_healthgaugenoneRedis pub/sub connection health
synctv_cluster_member_countgaugenoneCluster member count
synctv_cluster_sync_errors_totalcountererror_typeCluster synchronization errors
MetricTypeLabelsMeaning
stream_relay_duration_secondshistogramstream_typeStream relay operation duration
active_relay_streamsgaugenoneActive relay streams
stream_errors_totalcounterstream_type, error_typeStream errors
streamhub_restarts_totalcounterreasonStreamHub event loop restarts
livestream_active_publishersgaugenoneActive livestream publishers
livestream_active_viewersgaugenoneActive livestream viewers
livestream_bytes_totalcounterdirectionLivestream bytes transferred
livestream_stream_duration_secondshistogramstream_typeLivestream session duration
livestream_pull_errors_totalcountererror_typeLivestream pull errors
livestream_relay_frame_drops_totalcounternoneRelay frame drops caused by backpressure
gop_cache_sizegaugenoneCurrent GOP cache entries
gop_cache_drops_totalcounternoneGOP cache evictions
gop_cache_memory_bytesgaugenoneGOP cache memory usage
livestream_flv_slow_client_terminations_totalcounternoneFLV slow-client terminations