Fix per-torrent rate panels showing cumulative bytes instead of rates
All checks were successful
All checks were successful
Dashboard "Download/Upload Rate by Torrent" panels were querying transmission_torrent_download_bytes (total_size * percent_done) and transmission_torrent_upload_bytes (uploaded_ever) — cumulative byte gauges, not rates. Added new metrics using Transmission's native rate_download/rate_upload and updated dashboard queries. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
6ae18cde1e
commit
797133b28e
3 changed files with 17 additions and 2 deletions
|
|
@ -378,7 +378,7 @@ data:
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "transmission_torrent_download_bytes > 0",
|
||||
"expr": "transmission_torrent_download_rate_bytes > 0",
|
||||
"legendFormat": "{{name}}",
|
||||
"refId": "A"
|
||||
}
|
||||
|
|
@ -435,7 +435,7 @@ data:
|
|||
"targets": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"expr": "transmission_torrent_upload_bytes > 0",
|
||||
"expr": "transmission_torrent_upload_rate_bytes > 0",
|
||||
"legendFormat": "{{name}}",
|
||||
"refId": "A"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue