grafana: height vs target panel; rpc conn count

Signed-off-by: Ciro S. Costa <utxobr@protonmail.com>
This commit is contained in:
Ciro S. Costa 2021-08-03 17:10:26 -04:00
parent 5febff4a8d
commit 7099b6ef1d

View File

@ -17,7 +17,7 @@
"gnetId": null, "gnetId": null,
"graphTooltip": 0, "graphTooltip": 0,
"id": 1, "id": 1,
"iteration": 1627934985764, "iteration": 1628024752177,
"links": [], "links": [],
"panels": [ "panels": [
{ {
@ -185,7 +185,7 @@
"panels": [ "panels": [
{ {
"datasource": null, "datasource": null,
"description": "Number of blocks alternative to the longest chain", "description": "Current chain's block height vs node's current height. When syncing, let's one quickly tell how far the node is from being synchronized with the network.",
"fieldConfig": { "fieldConfig": {
"defaults": { "defaults": {
"color": { "color": {
@ -194,7 +194,6 @@
"custom": { "custom": {
"axisLabel": "", "axisLabel": "",
"axisPlacement": "auto", "axisPlacement": "auto",
"axisSoftMin": 0,
"barAlignment": -1, "barAlignment": -1,
"drawStyle": "line", "drawStyle": "line",
"fillOpacity": 0, "fillOpacity": 0,
@ -235,7 +234,7 @@
} }
] ]
}, },
"unit": "short" "unit": "none"
}, },
"overrides": [] "overrides": []
}, },
@ -245,7 +244,7 @@
"x": 0, "x": 0,
"y": 3 "y": 3
}, },
"id": 64, "id": 71,
"options": { "options": {
"legend": { "legend": {
"calcs": [], "calcs": [],
@ -259,13 +258,21 @@
"targets": [ "targets": [
{ {
"exemplar": true, "exemplar": true,
"expr": "monero_info_alternative_blocks", "expr": "monero_info_height",
"interval": "", "interval": "",
"legendFormat": "alternative blocks", "legendFormat": "height",
"refId": "A" "refId": "A"
},
{
"exemplar": true,
"expr": "monero_info_target_height",
"hide": false,
"interval": "",
"legendFormat": "target",
"refId": "B"
} }
], ],
"title": "Alternative blocks", "title": "Height and Target",
"transparent": true, "transparent": true,
"type": "timeseries" "type": "timeseries"
}, },
@ -446,6 +453,92 @@
"title": "Uptime", "title": "Uptime",
"transparent": true, "transparent": true,
"type": "timeseries" "type": "timeseries"
},
{
"datasource": null,
"description": "Number of blocks alternative to the longest chain",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 10
},
"id": 64,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"targets": [
{
"exemplar": true,
"expr": "monero_info_alternative_blocks",
"interval": "",
"legendFormat": "alternative blocks",
"refId": "A"
}
],
"title": "Alternative blocks",
"transparent": true,
"type": "timeseries"
} }
], ],
"title": "Overall", "title": "Overall",
@ -2038,6 +2131,92 @@
"title": "Time spent serving RPC methods", "title": "Time spent serving RPC methods",
"transparent": true, "transparent": true,
"type": "timeseries" "type": "timeseries"
},
{
"datasource": null,
"description": "Number of RPC connections being served.",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"axisSoftMin": 0,
"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": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
"y": 13
},
"id": 73,
"options": {
"legend": {
"calcs": [],
"displayMode": "hidden",
"placement": "bottom"
},
"tooltip": {
"mode": "multi"
}
},
"targets": [
{
"exemplar": true,
"expr": "monero_info_rpc_connections",
"interval": "",
"legendFormat": "connections",
"refId": "A"
}
],
"title": "RPC Connections",
"transparent": true,
"type": "timeseries"
} }
], ],
"title": "RPC", "title": "RPC",
@ -5017,20 +5196,20 @@
"current": { "current": {
"selected": true, "selected": true,
"text": [ "text": [
"1",
"0.05", "0.05",
"0.25", "0.25",
"0.5", "0.5",
"0.75", "0.75",
"0.95" "0.95",
"1"
], ],
"value": [ "value": [
"1",
"0.05", "0.05",
"0.25", "0.25",
"0.5", "0.5",
"0.75", "0.75",
"0.95" "0.95",
"1"
] ]
}, },
"datasource": null, "datasource": null,
@ -5073,5 +5252,5 @@
"timezone": "", "timezone": "",
"title": "Monero", "title": "Monero",
"uid": "K9dtfZG7z", "uid": "K9dtfZG7z",
"version": 35 "version": 1
} }