Skip to content

v2.4.0

Choose a tag to compare

@sethwv sethwv released this 01 Mar 13:42
52e4c71

Added

  • Unified live + VOD stream coverage for stream metrics via a new type label (type="live" / type="vod"), so the same metric families can represent both.
  • Added VOD-aware stream enrichment:
    • dispatcharr_stream_metadata now includes VOD labels like content_uuid, content_type (movie/episode), and episode labels (season_number, episode_number, series_name) when available.
    • dispatcharr_stream_programming now supports VOD by emitting content title/description + a time-based progress value (elapsed/duration).
  • Added dispatcharr_stream_buffering_speed gauge (live-only) derived from ffmpeg “speed” (e.g., 1.0x1.0).
  • Added per-type active stream counts:
    • dispatcharr_active_streams{type="live"} and dispatcharr_active_streams{type="vod"}.
  • Expanded client connection metrics to include VOD sessions as clients (with type="vod"), including:
    • dispatcharr_client_info
    • dispatcharr_client_connection_duration_seconds
    • dispatcharr_client_bytes_sent
    • dispatcharr_client_avg_transfer_rate_bps
    • dispatcharr_client_current_transfer_rate_bps

Changed

  • Removed the separate “VOD Metrics” section/setting:
    • Dropped include_vod_stats setting and the dispatcharr_vod_* metrics.
    • VOD is now represented through the same stream/client metrics with type="vod".
  • Updated profile connection counting logic to include both:
    • live channel streams (channel_stream:*)
    • VOD persistent connections (vod_persistent_connection:* with active_streams > 0)
  • Improved MetricsServer host handling and diagnostics:
    • Normalizes empty/whitespace host values to default host
    • Logs exact bind target and validates host resolution (getaddrinfo) before binding, with clearer Docker guidance (0.0.0.0).
  • Updated docs and samples:
    • METRICS.md reorganized (VOD section replaced with Client Connection Metrics) and updated queries/joins to include type.
    • Grafana dashboard + sample panels updated for Grafana 12.3.3, new Type column, and refreshed table options/layout.

Fixed

  • Improved label escaping for VOD programming strings (ensures backslashes, quotes, and newlines are escaped in a safe order).
  • Minor JSON formatting/EOF newline fixes in sample dashboard/panels.

Full Changelog: v2.3.0...v2.4.0