Add Unknown Block Sync metrics to Grafana dashboard (#3244)

* Add Unknown Block Sync metrics to Grafana dashboard

* Revert title and uid
This commit is contained in:
tuyennhv
2021-09-24 23:58:58 +07:00
committed by GitHub
parent 72628fb0d8
commit 957dfb2aff

View File

@@ -21,7 +21,7 @@
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 1,
"id": 3,
"links": [],
"panels": [
{
@@ -280,7 +280,7 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "sum(lodestar_peers_by_direction)",
@@ -334,7 +334,7 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "beacon_head_slot",
@@ -387,7 +387,7 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "beacon_finalized_epoch",
@@ -440,7 +440,7 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"exemplar": false,
@@ -497,7 +497,7 @@
"text": {},
"textMode": "value"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "rate(process_cpu_user_seconds_total[1m])",
@@ -551,7 +551,7 @@
"text": {},
"textMode": "value"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "process_heap_bytes",
@@ -609,7 +609,7 @@
"text": {},
"textMode": "auto"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "process_start_time_seconds*1000",
@@ -682,7 +682,7 @@
"text": {},
"textMode": "value"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "lodestar_sync_status",
@@ -742,7 +742,7 @@
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "lodestar_version",
@@ -796,7 +796,7 @@
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "lodestar_version",
@@ -859,7 +859,7 @@
"text": {},
"textMode": "name"
},
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"targets": [
{
"expr": "nodejs_version_info",
@@ -909,7 +909,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "8.1.4",
"pluginVersion": "8.1.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
@@ -11567,6 +11567,669 @@
],
"title": "Gossip Block",
"type": "row"
},
{
"collapsed": true,
"datasource": null,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 21
},
"id": 252,
"panels": [
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 22
},
"id": 250,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_requests_total",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Total Requests",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 22
},
"id": 254,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_pending_blocks_size",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Pending Blocks",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 30
},
"id": 256,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_known_bad_blocks_size",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Bad Blocks",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 30
},
"id": 258,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_processed_blocks_success_total",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Processed Blocks",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 38
},
"id": 260,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_processed_blocks_error_total",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Processed Errors",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 38
},
"id": 262,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_downloaded_blocks_success_total",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Download Success",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 46
},
"id": 264,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_downloaded_blocks_error_total",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Download Errors",
"type": "timeseries"
},
{
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 46
},
"id": 266,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single"
}
},
"targets": [
{
"exemplar": false,
"expr": "lodestar_sync_unknown_block_removed_blocks_total",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Removed Bad Blocks",
"type": "timeseries"
}
],
"title": "Unknown Block Sync",
"type": "row"
}
],
"refresh": "30s",
@@ -11577,7 +12240,7 @@
"list": []
},
"time": {
"from": "now-1h",
"from": "now-12h",
"to": "now"
},
"timepicker": {