fix(bitmagnet): minor bugfix for dashboard

This commit is contained in:
Kjeld Schouten 2024-03-01 10:38:12 +01:00
parent c469dcd318
commit 5256efbe80
2 changed files with 103 additions and 50 deletions

View File

@ -35,4 +35,4 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/stable/bitmagnet
- https://ghcr.io/bitmagnet-io/bitmagnet
type: application
version: 1.3.0
version: 1.3.1

View File

@ -18,13 +18,14 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 79,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -77,7 +78,8 @@
}
]
},
"unit": "decbytes"
"unit": "decbytes",
"unitScale": true
},
"overrides": []
},
@ -104,7 +106,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "bitmagnet_process_resident_memory_bytes",
@ -120,7 +122,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -172,7 +174,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -199,7 +202,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_dht_crawler_persisted_total[$__rate_interval])*60",
@ -215,7 +218,7 @@
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
"uid": "${DS_LOKI}"
},
"gridPos": {
"h": 8,
@ -238,7 +241,7 @@
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
"uid": "${DS_LOKI}"
},
"editorMode": "code",
"expr": "{job=\"bitmagnet\"} | json | severity = \"WARNING\" or severity = \"ERROR\"",
@ -252,7 +255,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -304,7 +307,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -331,7 +335,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"disableTextWrap": false,
"editorMode": "code",
@ -351,7 +355,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -403,7 +407,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -430,7 +435,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_dht_server_query_error_total[$__rate_interval])",
@ -446,7 +451,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -498,7 +503,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -525,7 +531,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.5, bitmagnet_dht_server_query_duration_seconds_bucket)",
@ -541,7 +547,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -593,7 +599,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -620,7 +627,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "bitmagnet_dht_server_query_concurrency",
@ -636,7 +643,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -688,7 +695,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -715,7 +723,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_meta_info_requester_success_total[$__rate_interval])",
@ -731,7 +739,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -783,7 +791,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -810,7 +819,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_meta_info_requester_error_total[$__rate_interval])",
@ -826,7 +835,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -878,7 +887,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -905,7 +915,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.5, bitmagnet_meta_info_requester_duration_seconds_bucket)",
@ -921,7 +931,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -973,7 +983,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -1000,7 +1011,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "bitmagnet_meta_info_requester_concurrency",
@ -1016,7 +1027,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -1068,7 +1079,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -1095,7 +1107,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_classifier_success_total[$__rate_interval])*60",
@ -1111,7 +1123,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -1163,7 +1175,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -1190,7 +1203,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "histogram_quantile(0.5, bitmagnet_classifier_duration_seconds_bucket)",
@ -1206,7 +1219,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -1258,7 +1271,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -1285,7 +1299,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_dht_responder_query_success_total[$__rate_interval])",
@ -1301,7 +1315,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
@ -1353,7 +1367,8 @@
"value": 80
}
]
}
},
"unitScale": true
},
"overrides": []
},
@ -1380,7 +1395,7 @@
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"expr": "rate(bitmagnet_dht_responder_query_error_total[$__rate_interval])",
@ -1395,10 +1410,48 @@
}
],
"refresh": "10s",
"schemaVersion": 38,
"schemaVersion": 39,
"tags": [],
"templating": {
"list": []
"list": [
{
"current": {
"selected": false,
"text": "Prometheus",
"value": "prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Prometheus Datasource",
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"current": {
"selected": false,
"text": "Loki",
"value": "loki"
},
"hide": 0,
"includeAll": false,
"label": "Loki Datasource",
"multi": false,
"name": "DS_LOKI",
"options": [],
"query": "loki",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
}
]
},
"time": {
"from": "now-6h",
@ -1406,8 +1459,8 @@
},
"timepicker": {},
"timezone": "",
"title": "bitmagnet",
"title": "Bitmagnet",
"uid": "c0abadd0-6633-40c4-a2fc-01408a8dfc4e",
"version": 1,
"version": 3,
"weekStart": ""
}
}