TorrentDrive

Grafana Monitoring

Monitor your TorrentDrive instance with pre-provisioned Grafana and Prometheus dashboards.

Overview

Grafana, Prometheus, and Loki are bundled and pre-provisioned inside the TorrentDrive container — data sources and dashboards are wired automatically on boot.

ServiceDefault Local URLCredentials
Grafanahttp://127.0.0.1:47500Username admin · Password generated in /data/postgres/secrets.env
Prometheushttp://127.0.0.1:47600—

Finding Your Grafana Password

On first boot, entrypoint.sh generates a random GRAFANA_ADMIN_PASSWORD and saves it to /data/postgres/secrets.env. Retrieve it with:

docker exec torrentdrive grep GRAFANA_ADMIN_PASSWORD /data/postgres/secrets.env

Or set your own password before first boot via -e GRAFANA_ADMIN_PASSWORD=your-secret.

Accessing Grafana on a Remote Server

Because port 47500 is bound to 127.0.0.1 by default for security, reach it over an SSH tunnel:

ssh -L 47500:127.0.0.1:47500 user@your-server

Then open http://localhost:47500 in your browser.

Pre-Provisioned Data Sources & Dashboards

TorrentDrive automatically provisions:

  • Prometheus (http://localhost:47600) scraping /metrics from the API (:47200) and workers
  • Loki (http://localhost:3100) for structured container logs
  • TorrentDrive Overview Dashboard tracking active downloads, upload throughput, job queue depth, and worker processing duration

Key Prometheus Metrics

MetricDescription
torrentdrive_downloads_totalTotal torrent downloads processed
torrentdrive_downloads_activeCurrently active torrent downloads
torrentdrive_uploads_totalTotal cloud uploads completed
torrentdrive_job_queue_depthPending jobs across Hangfire queues
torrentdrive_job_duration_secondsEnd-to-end job processing duration histogram

On this page