grafana: update metrics (fix unit, add sizes)

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
This commit is contained in:
Ciro S. Costa 2021-08-03 18:45:34 -04:00
parent 2078b4891d
commit 417d77c045

View File

@ -17,7 +17,7 @@
"gnetId": null,
"graphTooltip": 0,
"id": 1,
"iteration": 1628024752177,
"iteration": 1628030532187,
"links": [],
"panels": [
{
@ -352,14 +352,14 @@
"targets": [
{
"exemplar": true,
"expr": "monero_info_block_size_limit",
"expr": "monero_info_block_size_limit_bytes",
"interval": "",
"legendFormat": "limit",
"refId": "A"
},
{
"exemplar": true,
"expr": "monero_info_block_size_median",
"expr": "monero_info_block_size_median_bytes",
"hide": false,
"interval": "",
"legendFormat": "median",
@ -539,6 +539,176 @@
"title": "Alternative blocks",
"transparent": true,
"type": "timeseries"
},
{
"datasource": null,
"description": "Amount of free space in the partition where the Monero database is located at.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": -1,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepBefore",
"lineWidth": 1,
"pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 10
},
"id": 74,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"targets": [
{
"exemplar": true,
"expr": "monero_info_free_space_bytes",
"interval": "",
"legendFormat": "free space",
"refId": "A"
}
],
"title": "Free space",
"transparent": true,
"type": "timeseries"
},
{
"datasource": null,
"description": "Size of Monero's database on disk.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": -1,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "stepBefore",
"lineWidth": 1,
"pointSize": 6,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "never",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 3,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
"y": 10
},
"id": 75,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"targets": [
{
"exemplar": true,
"expr": "monero_info_database_size_bytes",
"interval": "",
"legendFormat": "size",
"refId": "A"
}
],
"title": "Database Size",
"transparent": true,
"type": "timeseries"
}
],
"title": "Overall",