-
-
Save azuse/c3b2ec9f8381754d820494503db4438d to your computer and use it in GitHub Desktop.
qbit torrent for java exporter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} | |
], | |
"__elements": {}, | |
"__requires": [ | |
{ | |
"type": "panel", | |
"id": "bargauge", | |
"name": "Bar gauge", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "gauge", | |
"name": "Gauge", | |
"version": "" | |
}, | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "9.2.1" | |
}, | |
{ | |
"type": "datasource", | |
"id": "prometheus", | |
"name": "Prometheus", | |
"version": "1.0.0" | |
}, | |
{ | |
"type": "panel", | |
"id": "stat", | |
"name": "Stat", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "table", | |
"name": "Table", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "timeseries", | |
"name": "Time series", | |
"version": "" | |
} | |
], | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 15116, | |
"graphTooltip": 0, | |
"id": null, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 30, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_alltime_downloaded_bytes", | |
"refId": "A" | |
} | |
], | |
"title": "All Time Downloaded", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 172, 10)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 2, | |
"y": 0 | |
}, | |
"id": 32, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_alltime_uploaded_bytes", | |
"instant": false, | |
"refId": "A" | |
} | |
], | |
"title": "All Time Uploaded", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"id": 0, | |
"op": "=", | |
"text": "N/A", | |
"type": 1, | |
"value": "null" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 4, | |
"y": 0 | |
}, | |
"id": 34, | |
"links": [], | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_session_downloaded_bytes", | |
"refId": "A" | |
} | |
], | |
"title": "Session Downloaded", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 172, 10)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 6, | |
"y": 0 | |
}, | |
"id": 35, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_session_uploaded_bytes", | |
"instant": false, | |
"refId": "A" | |
} | |
], | |
"title": "Session Uploaded", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 8, | |
"y": 0 | |
}, | |
"id": 6, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "none", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_torrents", | |
"instant": true, | |
"refId": "A" | |
} | |
], | |
"title": "Total Torrents", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"color": "rgb(33, 33, 35)", | |
"text": "0" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(33, 33, 35)", | |
"value": null | |
}, | |
{ | |
"color": "#37872D", | |
"value": 1 | |
}, | |
{ | |
"color": "#d44a3a" | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 10, | |
"y": 0 | |
}, | |
"id": 8, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum(qbittorrent_torrent_seeders)", | |
"instant": true, | |
"refId": "A" | |
} | |
], | |
"title": "Current Seeders", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "continuous-BlPu" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"max": 37500000, | |
"min": 1, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(33, 33, 35)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 158, 40, 0.89)", | |
"value": 1 | |
}, | |
{ | |
"color": "#d44a3a" | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 4, | |
"x": 12, | |
"y": 0 | |
}, | |
"id": 14, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"displayMode": "gradient", | |
"minVizHeight": 10, | |
"minVizWidth": 0, | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showUnfilled": true, | |
"text": { | |
"valueSize": 50 | |
} | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_upload_speed_bytes", | |
"instant": true, | |
"refId": "A" | |
} | |
], | |
"title": "Global Upload Speed", | |
"type": "bargauge" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "continuous-GrYlRd" | |
}, | |
"custom": { | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 33, | |
"gradientMode": "hue", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "smooth", | |
"lineStyle": { | |
"fill": "solid" | |
}, | |
"lineWidth": 3, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 6, | |
"x": 16, | |
"y": 0 | |
}, | |
"id": 2, | |
"options": { | |
"legend": { | |
"calcs": [ | |
"max", | |
"min", | |
"mean" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_download_speed_bytes", | |
"interval": "", | |
"legendFormat": "Download", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_upload_speed_bytes", | |
"interval": "", | |
"legendFormat": "Upload", | |
"refId": "B" | |
} | |
], | |
"title": "Cumulative Download/Upload Speed", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "transparent", | |
"value": null | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 22, | |
"y": 0 | |
}, | |
"id": 28, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"first" | |
], | |
"fields": "/^version$/", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_app_version", | |
"format": "table", | |
"instant": true, | |
"legendFormat": "{{version}}", | |
"refId": "A" | |
} | |
], | |
"title": "qBittorrent Version", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"color": "rgb(33, 33, 35)", | |
"text": "0" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(33, 33, 35)", | |
"value": null | |
}, | |
{ | |
"color": "#C4162A", | |
"value": 1 | |
}, | |
{ | |
"color": "#C4162A" | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 10, | |
"y": 3 | |
}, | |
"id": 10, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum(qbittorrent_torrent_leechers)", | |
"instant": true, | |
"refId": "A" | |
} | |
], | |
"title": "Current Leechers", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "continuous-BlPu" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"max": 37500000, | |
"min": 1, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "transparent", | |
"value": null | |
}, | |
{ | |
"color": "#37872D", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 4, | |
"x": 12, | |
"y": 3 | |
}, | |
"id": 12, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"displayMode": "gradient", | |
"minVizHeight": 10, | |
"minVizWidth": 0, | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"mean" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showUnfilled": true, | |
"text": { | |
"titleSize": 20, | |
"valueSize": 50 | |
} | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_global_download_speed_bytes", | |
"instant": true, | |
"refId": "A" | |
} | |
], | |
"title": "Global Download Speed", | |
"type": "bargauge" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"max": 1, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 2, | |
"x": 22, | |
"y": 3 | |
}, | |
"id": 37, | |
"options": { | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true, | |
"text": {} | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"exemplar": true, | |
"expr": "qbittorrent_global_ratio ", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Global Ratio", | |
"type": "gauge" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"custom": { | |
"align": "auto", | |
"displayMode": "auto", | |
"filterable": true, | |
"inspect": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "progress" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "percentunit" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.displayMode", | |
"value": "color-text" | |
}, | |
{ | |
"id": "custom.align" | |
}, | |
{ | |
"id": "thresholds", | |
"value": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 0 | |
}, | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": 0 | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "seeders" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "short" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.displayMode", | |
"value": "color-text" | |
}, | |
{ | |
"id": "custom.align", | |
"value": "left" | |
}, | |
{ | |
"id": "thresholds", | |
"value": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#d8d9da", | |
"value": null | |
}, | |
{ | |
"color": "#37872D", | |
"value": 1 | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "leechers" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Leechers" | |
}, | |
{ | |
"id": "unit", | |
"value": "short" | |
}, | |
{ | |
"id": "custom.displayMode", | |
"value": "color-text" | |
}, | |
{ | |
"id": "custom.align", | |
"value": "left" | |
}, | |
{ | |
"id": "thresholds", | |
"value": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#d8d9da", | |
"value": null | |
}, | |
{ | |
"color": "#C4162A", | |
"value": 1 | |
} | |
] | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "name" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Name" | |
}, | |
{ | |
"id": "custom.align", | |
"value": "left" | |
}, | |
{ | |
"id": "custom.width", | |
"value": 400 | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "state" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "State" | |
}, | |
{ | |
"id": "custom.displayMode", | |
"value": "color-text" | |
}, | |
{ | |
"id": "custom.align", | |
"value": "left" | |
}, | |
{ | |
"id": "thresholds", | |
"value": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)" | |
} | |
] | |
} | |
}, | |
{ | |
"id": "mappings", | |
"value": [ | |
{ | |
"options": { | |
"checkingDL": { | |
"color": "semi-dark-blue", | |
"index": 8, | |
"text": "Checking" | |
}, | |
"checkingUL": { | |
"color": "semi-dark-blue", | |
"index": 9, | |
"text": "Checking" | |
}, | |
"downloading": { | |
"color": "semi-dark-green", | |
"index": 1, | |
"text": "Downloading" | |
}, | |
"missingFiles": { | |
"color": "semi-dark-red", | |
"index": 10, | |
"text": "Missing Files" | |
}, | |
"pausedDL": { | |
"color": "dark-yellow", | |
"index": 6, | |
"text": "Paused (Down)" | |
}, | |
"pausedUP": { | |
"color": "dark-yellow", | |
"index": 7, | |
"text": "Paused (Up)" | |
}, | |
"queuedDL": { | |
"color": "semi-dark-purple", | |
"index": 5, | |
"text": "Queued (Down)" | |
}, | |
"queuedUP": { | |
"color": "semi-dark-purple", | |
"index": 3, | |
"text": "Queued (Up)" | |
}, | |
"stalledDL": { | |
"color": "#868686", | |
"index": 2, | |
"text": "Stalled (Down)" | |
}, | |
"stalledUP": { | |
"color": "#868686", | |
"index": 0, | |
"text": "Stalled (Up)" | |
}, | |
"uploading": { | |
"color": "semi-dark-orange", | |
"index": 4, | |
"text": "Uploading" | |
} | |
}, | |
"type": "value" | |
} | |
] | |
}, | |
{ | |
"id": "custom.filterable", | |
"value": true | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "size" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "decbytes" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "dl_speed" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "Bps" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "up_speed" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "Bps" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "amount_left" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "decbytes" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "uploaded" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "decbytes" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "time_active" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Active" | |
}, | |
{ | |
"id": "unit", | |
"value": "s" | |
}, | |
{ | |
"id": "decimals", | |
"value": 1 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "eta" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "s" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "downloaded" | |
}, | |
"properties": [ | |
{ | |
"id": "unit", | |
"value": "decbytes" | |
}, | |
{ | |
"id": "decimals", | |
"value": 2 | |
}, | |
{ | |
"id": "displayName", | |
"value": "Downloaded" | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 14, | |
"w": 12, | |
"x": 0, | |
"y": 6 | |
}, | |
"id": 24, | |
"interval": "", | |
"options": { | |
"footer": { | |
"fields": "", | |
"reducer": [ | |
"sum" | |
], | |
"show": false | |
}, | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": true, | |
"displayName": "DL Speed" | |
} | |
] | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_torrent_info", | |
"format": "table", | |
"instant": true, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Torrents", | |
"transformations": [ | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"Time": true, | |
"Value": true, | |
"__name__": true, | |
"container": true, | |
"downloaded_session": true, | |
"endpoint": true, | |
"instance": true, | |
"job": true, | |
"max_ratio": true, | |
"namespace": true, | |
"pod": true, | |
"service": true, | |
"uploaded_session": true | |
}, | |
"indexByName": { | |
"Time": 3, | |
"Value": 20, | |
"__name__": 4, | |
"amount_left": 9, | |
"container": 19, | |
"dl_speed": 5, | |
"downloaded": 6, | |
"downloaded_session": 7, | |
"endpoint": 26, | |
"eta": 8, | |
"instance": 25, | |
"job": 24, | |
"leechers": 11, | |
"max_ratio": 12, | |
"name": 0, | |
"namespace": 23, | |
"pod": 22, | |
"progress": 2, | |
"ratio": 13, | |
"seeders": 10, | |
"service": 21, | |
"size": 14, | |
"state": 1, | |
"time_active": 15, | |
"up_speed": 16, | |
"uploaded": 17, | |
"uploaded_session": 18 | |
}, | |
"renameByName": { | |
"amount_left": "Amount Left", | |
"dl_speed": "DL Speed", | |
"downloaded": "Downloaded", | |
"eta": "ETA", | |
"leechers": "Leechers", | |
"max_ratio": "", | |
"name": "Name", | |
"progress": "Progress", | |
"ratio": "Ratio", | |
"seeders": "Seeders", | |
"size": "Size", | |
"state": "State", | |
"time_active": "Active", | |
"up_speed": "UL Speed", | |
"uploaded": "Uploaded" | |
} | |
} | |
}, | |
{ | |
"id": "sortBy", | |
"options": { | |
"fields": {}, | |
"sort": [ | |
{ | |
"desc": true, | |
"field": "DL Speed" | |
} | |
] | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 10, | |
"x": 12, | |
"y": 6 | |
}, | |
"id": 16, | |
"links": [], | |
"maxDataPoints": 3, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "qbittorrent_torrent_states", | |
"instant": true, | |
"legendFormat": "{{name}}", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "States", | |
"transformations": [ | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "downloading", | |
"renamePattern": "Downloading" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "missingFiles", | |
"renamePattern": "Missing" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "pausedDL", | |
"renamePattern": "Paused (Downloading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "pausedUP", | |
"renamePattern": "Paused (Uploading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "queuedDL", | |
"renamePattern": "Queued (Downloading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "queuedUP", | |
"renamePattern": "Queued (Uploading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "stalledUP", | |
"renamePattern": "Stalled (Uploading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "stalledDL", | |
"renamePattern": "Stalled (Downloading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "uploading", | |
"renamePattern": "Uploading" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "checkingDL", | |
"renamePattern": "Checking (Downloading)" | |
} | |
}, | |
{ | |
"id": "renameByRegex", | |
"options": { | |
"regex": "checkingUP", | |
"renamePattern": "Checking (Uploading)" | |
} | |
} | |
], | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "continuous-BlYlRd" | |
}, | |
"custom": { | |
"align": "auto", | |
"displayMode": "auto", | |
"filterable": true, | |
"inspect": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Amount Remaining(GB)" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.displayMode", | |
"value": "lcd-gauge" | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 11, | |
"w": 12, | |
"x": 12, | |
"y": 9 | |
}, | |
"id": 20, | |
"links": [], | |
"maxDataPoints": 3, | |
"options": { | |
"footer": { | |
"enablePagination": false, | |
"fields": "", | |
"reducer": [ | |
"sum" | |
], | |
"show": false | |
}, | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": true, | |
"displayName": "Amount Remaining(GB)" | |
} | |
] | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editorMode": "code", | |
"expr": "qbittorrent_torrent_amount_left_bytes", | |
"format": "table", | |
"instant": true, | |
"intervalFactor": 1, | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"title": "Amount Remaining Per Torrent", | |
"transformations": [ | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"Time": true, | |
"__name__": true, | |
"instance": true, | |
"job": true | |
}, | |
"indexByName": {}, | |
"renameByName": { | |
"Value": "Amount Remaining(GB)" | |
} | |
} | |
}, | |
{ | |
"id": "sortBy", | |
"options": { | |
"fields": {}, | |
"sort": [ | |
{ | |
"desc": true, | |
"field": "Amount Remaining(GB)" | |
} | |
] | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "continuous-BlPu" | |
}, | |
"custom": { | |
"align": "auto", | |
"displayMode": "auto", | |
"filterable": true, | |
"inspect": false | |
}, | |
"mappings": [ | |
{ | |
"from": "", | |
"id": 2, | |
"operator": "", | |
"text": "N/A", | |
"to": "", | |
"type": 1, | |
"value": "null" | |
} | |
], | |
"max": 1, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "dark-red", | |
"value": null | |
}, | |
{ | |
"color": "dark-orange", | |
"value": 0.25 | |
}, | |
{ | |
"color": "#EAB839", | |
"value": 0.5 | |
}, | |
{ | |
"color": "semi-dark-green", | |
"value": 0.75 | |
}, | |
{ | |
"color": "rgb(206, 206, 206)", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "percentunit" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Value" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.displayMode", | |
"value": "lcd-gauge" | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "job" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.width", | |
"value": 90 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 20, | |
"w": 24, | |
"x": 0, | |
"y": 20 | |
}, | |
"id": 22, | |
"options": { | |
"footer": { | |
"fields": "", | |
"reducer": [ | |
"sum" | |
], | |
"show": false | |
}, | |
"showHeader": true, | |
"sortBy": [ | |
{ | |
"desc": true, | |
"displayName": "Value" | |
} | |
] | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editorMode": "code", | |
"exemplar": false, | |
"expr": "qbittorrent_torrent_progress < 1.0", | |
"format": "table", | |
"instant": true, | |
"legendFormat": "A", | |
"range": false, | |
"refId": "A" | |
} | |
], | |
"title": "Incomplete Torrent Progress", | |
"transformations": [ | |
{ | |
"id": "sortBy", | |
"options": { | |
"fields": {}, | |
"sort": [ | |
{ | |
"desc": true, | |
"field": "Value" | |
} | |
] | |
} | |
}, | |
{ | |
"id": "organize", | |
"options": { | |
"excludeByName": { | |
"Time": true, | |
"__name__": true, | |
"instance": true, | |
"job": true | |
}, | |
"indexByName": {}, | |
"renameByName": { | |
"Value": "Torrent Progress%", | |
"name": "Name" | |
} | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 12, | |
"w": 12, | |
"x": 0, | |
"y": 40 | |
}, | |
"id": 18, | |
"options": { | |
"legend": { | |
"calcs": [ | |
"max", | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true, | |
"width": 800 | |
}, | |
"tooltip": { | |
"mode": "single", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_torrent_download_speed_bytes", | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"title": "Download Speed by Torrent", | |
"transformations": [ | |
{ | |
"id": "limit", | |
"options": { | |
"limitField": 100 | |
} | |
} | |
], | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisCenteredZero": false, | |
"axisColorMode": "text", | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"links": [], | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 12, | |
"w": 12, | |
"x": 12, | |
"y": 40 | |
}, | |
"id": 26, | |
"options": { | |
"legend": { | |
"calcs": [ | |
"max", | |
"lastNotNull" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true, | |
"sortBy": "Last *", | |
"sortDesc": true, | |
"width": 200 | |
}, | |
"tooltip": { | |
"mode": "single", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.2.1", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "qbittorrent_torrent_upload_speed_bytes", | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"title": "Upload Speed by Torrent", | |
"transformations": [ | |
{ | |
"id": "limit", | |
"options": { | |
"limitField": 100 | |
} | |
} | |
], | |
"type": "timeseries" | |
} | |
], | |
"refresh": "", | |
"schemaVersion": 37, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "F0fh2WHVz" | |
}, | |
"filters": [ | |
{ | |
"condition": "", | |
"key": "name", | |
"operator": "!=", | |
"value": "Animelo Summer Live 2021 -COLORS-" | |
} | |
], | |
"hide": 0, | |
"name": "Filters", | |
"skipUrlSync": false, | |
"type": "adhoc" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-30m", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "qBittorrent Dashboard(java)", | |
"uid": "OEyH9tQZk", | |
"version": 6, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment