YouTube Stream Monitoring

A comprehensive Grafana dashboard for monitoring YouTube live stream statuses in real-time. Including stream interruptions, viewer counts and engagement metrics

YouTube Stream Monitoring screenshot 1
YouTube Stream Monitoring screenshot 2

YouTube Stream Monitoring Dashboard This dashboard provides comprehensive monitoring for YouTube live streams, including status, viewers, and engagement metrics. Features

Live streaming status (online/offline) monitoring Real-time viewer count tracking Stream outage detection and alerts Engagement metrics (views, likes, comments) Historical trend analysis

Installation

Set up your Prometheus data source Install YouTube Exporter: https://github.com/adilkurtulmus/Youtube_Monitor Use the following configuration:

Prometheus Configuration (prometheus.yml)
scrape_configs:

  • job_name: ‘youtube_monitor’ file_sd_configs:
    • files:
      • youtube_monitor.json

Service Discovery File (youtube_monitor.json)

[ { “targets”: [ “YouTube_Exporter_IP:8001” ], “labels”: { “job”: “youtube_monitor”, “service”: “streaming” } } ]

YouTube Channel Configuration Configure your YouTube channel details in the exporter:

CHANNEL_ID = “XXXXXXXXXXXXXXXXX-7zw” # Channel ID
VIDEO_ID = “XXXXXXXXXX” # Live broadcast ID
API_KEY = “YOUR-API-KEY” # YouTube API key

Dashboard Features

Stream Status: Real-time online/offline status Viewer Count: Current and historical viewer numbers Outage Tracking: Count and duration of stream interruptions API Health: Response rates and error tracking Engagement Metrics: Views, likes, comments over time

Troubleshooting

Ensure YouTube API key has proper permissions Check Prometheus is correctly scraping the exporter Verify channel ID and video ID are correct

For more information and updates visit: https://github.com/adilkurtulmus/Youtube_Monitor

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies