Skip to main content
Version: 1.8.0 (latest)

Monitoring

Video Recorder

The video recorder subsystem pods provide metrics in prometheus format for monitoring incoming video recording connections. The metrics are available at "/metrics" endpoint.

Example of a response from a pod:

# HELP vr_webrtc_connection_count Number current webrtc connections
# TYPE vr_webrtc_connection_count gauge
vr_webrtc_connection_count 1
# HELP vr_websocket_connection_count Number current websocket connections
# TYPE vr_websocket_connection_count gauge
vr_websocket_connection_count 0
# HELP vr_websocket_average_connection_duration Average websocket connection duration
# TYPE vr_websocket_average_connection_duration gauge
vr_websocket_average_connection_duration 17.000192976579434
# HELP vr_websocket_average_chunk_size Average video chunk size witch transferred via websocket
# TYPE vr_websocket_average_chunk_size gauge
vr_websocket_average_chunk_size 38794.71944598936

Metrics description:

  • vr_webrtc_connection_count: The number of current WebRTC connections.
  • vr_websocket_connection_count: The number of current WebSocket connections.
  • vr_websocket_average_connection_duration(seconds): Average duration of WebSocket sessions. This represents the total time of all checks with video recording, which depends on both the number of checks and the video duration for each check.
  • vr_websocket_average_chunk_size(bytes): The average size of a chunk of video data transmitted over WebSocket.
note

The metrics are provided by each pod based on its own data. If you are running several pods, you should aggregate the metrics from all these pods to get a comprehensive view of the entire subsystem.