mirror of
https://github.com/NohamR/prometheus-qbittorrent-exporter.git
synced 2025-05-23 16:49:29 +00:00
2100 lines
47 KiB
JSON
2100 lines
47 KiB
JSON
{
|
||
"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,
|
||
"graphTooltip": 0,
|
||
"id": 5,
|
||
"links": [],
|
||
"liveNow": false,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"text": "Disconnected"
|
||
},
|
||
"1": {
|
||
"text": "Connected"
|
||
},
|
||
"-1": {
|
||
"text": "Firewalled"
|
||
}
|
||
},
|
||
"type": "value"
|
||
}
|
||
],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "yellow",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "dark-red",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "semi-dark-green",
|
||
"value": 1
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 3,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"expr": "qbittorrent_connected - qbittorrent_firewalled",
|
||
"format": "time_series",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "Status",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Bittorrent network",
|
||
"transformations": [],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"text": "No DHT"
|
||
},
|
||
"-1": {
|
||
"text": "Firewalled"
|
||
}
|
||
},
|
||
"type": "value"
|
||
}
|
||
],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "yellow",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "dark-red",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "semi-dark-green",
|
||
"value": 100
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 4,
|
||
"y": 0
|
||
},
|
||
"id": 13,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"expr": "qbittorrent_dht_nodes",
|
||
"instant": true,
|
||
"interval": "",
|
||
"legendFormat": "DHT nodes",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"title": "DHT nodes",
|
||
"transformations": [],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 7,
|
||
"y": 0
|
||
},
|
||
"id": 18,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (app) (qbittorrent_alltime_dl_total)",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": " ",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Total downloaded",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 4,
|
||
"x": 11,
|
||
"y": 0
|
||
},
|
||
"id": 6,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (app) (qbittorrent_alltime_ul_total)",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": " ",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Total uploaded",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 15,
|
||
"y": 0
|
||
},
|
||
"id": 5,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (app) (qbittorrent_dl_info_data_total)",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": " ",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Session downloaded",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 18,
|
||
"y": 0
|
||
},
|
||
"id": 19,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum by (app) (qbittorrent_up_info_data_total)",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": " ",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Session uploaded",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"max": 48000000,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "dark-red",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "dark-green",
|
||
"value": 8000000
|
||
}
|
||
]
|
||
},
|
||
"unit": "binBps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 21,
|
||
"y": 0
|
||
},
|
||
"id": 16,
|
||
"options": {
|
||
"minVizHeight": 75,
|
||
"minVizWidth": 75,
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"expr": "rate(qbittorrent_dl_info_data_total[2m])",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Download speed",
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [
|
||
{
|
||
"options": {
|
||
"0": {
|
||
"text": "Offline"
|
||
},
|
||
"1": {
|
||
"text": "Online"
|
||
}
|
||
},
|
||
"type": "value"
|
||
},
|
||
{
|
||
"options": {
|
||
"match": "null",
|
||
"result": {
|
||
"text": "Unknown"
|
||
}
|
||
},
|
||
"type": "special"
|
||
}
|
||
],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "yellow",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "semi-dark-red",
|
||
"value": 0
|
||
},
|
||
{
|
||
"color": "semi-dark-green",
|
||
"value": 1
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 7,
|
||
"x": 0,
|
||
"y": 4
|
||
},
|
||
"id": 2,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"expr": "qbittorrent_up",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Qbittorrent Status",
|
||
"transformations": [],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "none"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 8,
|
||
"x": 7,
|
||
"y": 4
|
||
},
|
||
"id": 20,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "(sum by (app) (qbittorrent_alltime_ul_total)) / (sum by (app) (qbittorrent_alltime_dl_total))",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "{{label_name}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Total ratio",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
},
|
||
"unit": "none"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 6,
|
||
"x": 15,
|
||
"y": 4
|
||
},
|
||
"id": 7,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "area",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "(sum by (app) (qbittorrent_up_info_data_total)) / (sum by (app) (qbittorrent_dl_info_data_total))",
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "{{label_name}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Session ratio",
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"decimals": 1,
|
||
"mappings": [],
|
||
"max": 18000000,
|
||
"min": 0,
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "dark-red",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "dark-green",
|
||
"value": 4000000
|
||
}
|
||
]
|
||
},
|
||
"unit": "binBps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 4,
|
||
"w": 3,
|
||
"x": 21,
|
||
"y": 4
|
||
},
|
||
"id": 17,
|
||
"options": {
|
||
"minVizHeight": 75,
|
||
"minVizWidth": 75,
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"last"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showThresholdLabels": false,
|
||
"showThresholdMarkers": true
|
||
},
|
||
"pluginVersion": "10.2.2",
|
||
"targets": [
|
||
{
|
||
"expr": "rate(qbittorrent_up_info_data_total[2m])",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Upload speed",
|
||
"type": "gauge"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 8
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 15,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "rate(qbittorrent_dl_info_data_total[2m])",
|
||
"interval": "",
|
||
"legendFormat": "Download",
|
||
"range": true,
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "rate(qbittorrent_up_info_data_total[2m])",
|
||
"interval": "",
|
||
"legendFormat": "Upload",
|
||
"range": true,
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Transfer Rates",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:90",
|
||
"format": "binBps",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"max": "20000000",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:91",
|
||
"format": "binBps",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 21,
|
||
"x": 0,
|
||
"y": 18
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 11,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 0,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": true,
|
||
"targets": [
|
||
{
|
||
"expr": "sum(qbittorrent_torrents_count{category=~\"${categories}\", status!=\"complete\"}) by (status)",
|
||
"interval": "",
|
||
"legendFormat": "{{status}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Torrents by status",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
}
|
||
},
|
||
"mappings": []
|
||
},
|
||
"overrides": [
|
||
{
|
||
"__systemRef": "hideSeriesFrom",
|
||
"matcher": {
|
||
"id": "byNames",
|
||
"options": {
|
||
"mode": "exclude",
|
||
"names": [
|
||
"movies",
|
||
"tools",
|
||
"shows"
|
||
],
|
||
"prefix": "All except:",
|
||
"readOnly": true
|
||
}
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.hideFrom",
|
||
"value": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": true
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 3,
|
||
"x": 21,
|
||
"y": 18
|
||
},
|
||
"id": 12,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"pieType": "pie",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"lastNotNull"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "7.2.0",
|
||
"targets": [
|
||
{
|
||
"expr": "sum(qbittorrent_torrents_count{category=~\"${categories}\",status!=\"complete\"}) by (category)",
|
||
"interval": "",
|
||
"legendFormat": "{{category}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "Torrents by categories",
|
||
"type": "piechart"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 9,
|
||
"x": 0,
|
||
"y": 28
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 21,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 0,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": true,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum(qbittorrent_total_peer_connections_total)",
|
||
"interval": "",
|
||
"legendFormat": "Peers",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Peers",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:526",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:527",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 7,
|
||
"x": 9,
|
||
"y": 28
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 27,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 0,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": true,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "sum(qbittorrent_average_time_queue_total)",
|
||
"interval": "",
|
||
"legendFormat": "Time queue",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Average time queue",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:317",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:318",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "dectbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 28
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 26,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 0,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": true,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "(qbittorrent_free_space_on_disk_total)",
|
||
"interval": "",
|
||
"legendFormat": "Free",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Free space",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:605",
|
||
"format": "dectbytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:606",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "percent"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 9,
|
||
"x": 0,
|
||
"y": 36
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 23,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "rate(qbittorrent_write_cache_overload_total[1m])*10",
|
||
"interval": "",
|
||
"legendFormat": "Write",
|
||
"range": true,
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "rate(qbittorrent_read_cache_overload_total[1m])*10",
|
||
"interval": "",
|
||
"legendFormat": "Read",
|
||
"range": true,
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Write/Read cache overload",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:758",
|
||
"format": "percent",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:759",
|
||
"format": "binBps",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 8,
|
||
"x": 9,
|
||
"y": 36
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 25,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": false,
|
||
"linewidth": 0,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": true,
|
||
"steppedLine": true,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "(qbittorrent_queued_io_jobs_total)",
|
||
"interval": "",
|
||
"legendFormat": "Jobs",
|
||
"range": true,
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Queued io jobs",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:680",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:681",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_in": "light-red",
|
||
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_in下载": "green",
|
||
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_cni0_out上传": "yellow",
|
||
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_in下载": "purple",
|
||
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_out": "purple",
|
||
"cn-shenzhen.i-wz9cq1dcb6zwc39ehw59_eth0_out上传": "blue"
|
||
},
|
||
"bars": true,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editable": true,
|
||
"error": false,
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"grid": {},
|
||
"gridPos": {
|
||
"h": 6,
|
||
"w": 7,
|
||
"x": 17,
|
||
"y": 36
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 32,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": true,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": false,
|
||
"show": false,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": true,
|
||
"values": true
|
||
},
|
||
"lines": false,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"nullPointMode": "null as zero",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 1,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"$$hashKey": "object:2970",
|
||
"alias": "/.*_transmit$/",
|
||
"transform": "negative-Y"
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "increase(node_network_receive_bytes_total{instance=~\"192.168.1.58:9100\",device=\"eth0\"}[60m])",
|
||
"interval": "60m",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{device}}_receive",
|
||
"metric": "",
|
||
"range": true,
|
||
"refId": "A",
|
||
"step": 600,
|
||
"target": ""
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "increase(node_network_transmit_bytes_total{instance=~\"192.168.1.58:9100\",device=~\"eth0\"}[60m])",
|
||
"hide": false,
|
||
"interval": "60m",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{device}}_transmit",
|
||
"range": true,
|
||
"refId": "B",
|
||
"step": 600
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Internet traffic per hour $device",
|
||
"tooltip": {
|
||
"msResolution": false,
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "cumulative"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:2977",
|
||
"format": "bytes",
|
||
"label": "transmit(-)/receive(+)",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:2978",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "netdatacloud-netdata-datasource",
|
||
"uid": "ed2f4fad-8548-43ea-b428-bfe24ccb5c90"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": [],
|
||
"unit": "rotrpm"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 42
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 28,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"contextId": "sensors.fan",
|
||
"datasource": {
|
||
"type": "netdatacloud-netdata-datasource",
|
||
"uid": "ed2f4fad-8548-43ea-b428-bfe24ccb5c90"
|
||
},
|
||
"nodes": [
|
||
"f653f384-677c-405e-8bfd-c66ee8c2f2ac"
|
||
],
|
||
"refId": "A",
|
||
"roomId": "b07dbb9f-f5c4-408c-afe1-cf8078674428",
|
||
"spaceId": "2037393c-06ce-43f2-bbbf-b182bef71e9c"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Fan",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "rotrpm",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {
|
||
"192.168.200.241:9100_Total": "dark-red",
|
||
"Idle - Waiting for something to happen": "#052B51",
|
||
"guest": "#9AC48A",
|
||
"idle": "#052B51",
|
||
"iowait": "#EAB839",
|
||
"irq": "#BF1B00",
|
||
"nice": "#C15C17",
|
||
"sdb_每秒I/O操作%": "#d683ce",
|
||
"softirq": "#E24D42",
|
||
"steal": "#FCE2DE",
|
||
"system": "#508642",
|
||
"user": "#5195CE",
|
||
"磁盘花费在I/O操作占比": "#ba43a9"
|
||
},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"decimals": 2,
|
||
"description": "",
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 13,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 42
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 31,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": true,
|
||
"hideEmpty": true,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": false,
|
||
"show": true,
|
||
"sort": "current",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 2,
|
||
"links": [],
|
||
"maxPerRow": 6,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 5,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [
|
||
{
|
||
"$$hashKey": "object:3051",
|
||
"alias": "/.*Total/",
|
||
"color": "#C4162A",
|
||
"fill": 0
|
||
}
|
||
],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"192.168.1.58:9100\",mode=\"system\"}[2m])) by (instance) *100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "System",
|
||
"refId": "A",
|
||
"step": 20
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"192.168.1.58:9100\",mode=\"user\"}[2m])) by (instance) *100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "User",
|
||
"range": true,
|
||
"refId": "B",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "avg(rate(node_cpu_seconds_total{instance=~\"192.168.1.58:9100\",mode=\"iowait\"}[2m])) by (instance) *100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Iowait",
|
||
"refId": "D",
|
||
"step": 240
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"editorMode": "code",
|
||
"expr": "(1 - avg(rate(node_cpu_seconds_total{instance=~\"192.168.1.58:9100\",mode=\"idle\"}[2m])) by (instance))*100",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Total",
|
||
"range": true,
|
||
"refId": "F",
|
||
"step": 240
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "CPU% Basic",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:11294",
|
||
"decimals": 0,
|
||
"format": "percent",
|
||
"label": "",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:11295",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "netdatacloud-netdata-datasource",
|
||
"uid": "ed2f4fad-8548-43ea-b428-bfe24ccb5c90"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"links": [],
|
||
"unit": "celsius"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 50
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 29,
|
||
"legend": {
|
||
"avg": false,
|
||
"current": false,
|
||
"max": false,
|
||
"min": false,
|
||
"show": true,
|
||
"total": false,
|
||
"values": false
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "10.2.2",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"contextId": "sensors.temperature",
|
||
"datasource": {
|
||
"type": "netdatacloud-netdata-datasource",
|
||
"uid": "ed2f4fad-8548-43ea-b428-bfe24ccb5c90"
|
||
},
|
||
"nodes": [
|
||
"f653f384-677c-405e-8bfd-c66ee8c2f2ac"
|
||
],
|
||
"refId": "A",
|
||
"roomId": "b07dbb9f-f5c4-408c-afe1-cf8078674428",
|
||
"spaceId": "2037393c-06ce-43f2-bbbf-b182bef71e9c"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "Temperature",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 0,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "celsius",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": false
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"refresh": "10s",
|
||
"revision": 1,
|
||
"schemaVersion": 38,
|
||
"tags": [],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"allValue": ".*",
|
||
"current": {
|
||
"selected": false,
|
||
"text": "All",
|
||
"value": "$__all"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "${data_source}"
|
||
},
|
||
"definition": "label_values(qbittorrent_torrents_count, category)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "Categories",
|
||
"multi": true,
|
||
"name": "categories",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(qbittorrent_torrents_count, category)",
|
||
"refId": "Prometheus-categories-Variable-Query"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"tagValuesQuery": "",
|
||
"tagsQuery": "",
|
||
"type": "query",
|
||
"useTags": false
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "Prometheus",
|
||
"value": "d4352f38-27bf-4c16-9fae-00e9ced664a1"
|
||
},
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "Data Source",
|
||
"multi": false,
|
||
"name": "data_source",
|
||
"options": [],
|
||
"query": "prometheus",
|
||
"queryValue": "",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"type": "datasource"
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-1h",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {},
|
||
"timezone": "",
|
||
"title": "Qb",
|
||
"uid": "eKyTETFMj",
|
||
"version": 25,
|
||
"weekStart": ""
|
||
} |