Merge pull request #53 from codex-storage/feature/make-grafana-dashboard-more-portable

Make Grafana dashboard more portable
This commit is contained in:
Ben Bierens 2023-09-07 08:11:07 +02:00 committed by GitHub
commit a03d9cd92f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 64 additions and 44 deletions

View File

@ -38,7 +38,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -115,7 +115,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexApiUploads_total", "expr": "codexApiUploads_total",
@ -130,7 +130,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -207,7 +207,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexApiDownloads_total", "expr": "codexApiDownloads_total",
@ -235,7 +235,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -312,7 +312,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexRepostoreBlocks", "expr": "codexRepostoreBlocks",
@ -327,7 +327,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -405,7 +405,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexRepostoreBytesReserved", "expr": "codexRepostoreBytesReserved",
@ -420,7 +420,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -500,7 +500,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexRepostoreBytesUsed", "expr": "codexRepostoreBytesUsed",
@ -528,7 +528,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -605,7 +605,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "libp2p_peers", "expr": "libp2p_peers",
@ -620,7 +620,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -697,7 +697,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "routing_table_nodes", "expr": "routing_table_nodes",
@ -725,7 +725,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -802,7 +802,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexBlockExchangeBlocksSent_total", "expr": "codexBlockExchangeBlocksSent_total",
@ -817,7 +817,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -894,7 +894,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexBlockExchangeBlocksReceived_total", "expr": "codexBlockExchangeBlocksReceived_total",
@ -909,7 +909,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -986,7 +986,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexBlockExchangeWantHaveListsSent_total", "expr": "codexBlockExchangeWantHaveListsSent_total",
@ -1001,7 +1001,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1078,7 +1078,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexBlockExchangeWantBlockListsSent_total", "expr": "codexBlockExchangeWantBlockListsSent_total",
@ -1093,7 +1093,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1170,7 +1170,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexBlockExchangeWantHaveListsReceived_total", "expr": "codexBlockExchangeWantHaveListsReceived_total",
@ -1185,7 +1185,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1262,7 +1262,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexBlockExchangeWantBlockListsReceived_total", "expr": "codexBlockExchangeWantBlockListsReceived_total",
@ -1290,7 +1290,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1367,7 +1367,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesPending_total", "expr": "codexPurchasesPending_total",
@ -1382,7 +1382,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1459,7 +1459,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesSubmitted_total", "expr": "codexPurchasesSubmitted_total",
@ -1474,7 +1474,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1551,7 +1551,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesStarted_total", "expr": "codexPurchasesStarted_total",
@ -1566,7 +1566,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1643,7 +1643,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesFinished_total", "expr": "codexPurchasesFinished_total",
@ -1658,7 +1658,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1735,7 +1735,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesFailed_total", "expr": "codexPurchasesFailed_total",
@ -1750,7 +1750,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1827,7 +1827,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesCancelled_total", "expr": "codexPurchasesCancelled_total",
@ -1842,7 +1842,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -1919,7 +1919,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesUnknown_total", "expr": "codexPurchasesUnknown_total",
@ -1934,7 +1934,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
@ -2011,7 +2011,7 @@
{ {
"datasource": { "datasource": {
"type": "prometheus", "type": "prometheus",
"uid": "c89eaad3-9184-429f-ac94-8ba0b1824dbb" "uid": "${datasource}"
}, },
"editorMode": "builder", "editorMode": "builder",
"expr": "codexPurchasesError_total", "expr": "codexPurchasesError_total",
@ -2029,7 +2029,27 @@
"style": "dark", "style": "dark",
"tags": [], "tags": [],
"templating": { "templating": {
"list": [] "list": [
{
"current": {
"selected": true,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "datasource",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "/^(?!default).*/",
"skipUrlSync": false,
"type": "datasource"
}
]
}, },
"time": { "time": {
"from": "now-30m", "from": "now-30m",
@ -2041,4 +2061,4 @@
"uid": "ca93f344-dd41-48c4-95a7-876c340e3005", "uid": "ca93f344-dd41-48c4-95a7-876c340e3005",
"version": 6, "version": 6,
"weekStart": "" "weekStart": ""
} }