From d3005bf58efb527d2887a922689d74e32358bf79 Mon Sep 17 00:00:00 2001 From: tuyennhv Date: Tue, 19 Dec 2023 16:01:38 +0700 Subject: [PATCH] chore: epoch transition by steps panel (#6205) --- dashboards/lodestar_block_processor.json | 288 ++++++++++++++++------- 1 file changed, 204 insertions(+), 84 deletions(-) diff --git a/dashboards/lodestar_block_processor.json b/dashboards/lodestar_block_processor.json index d1a856f2f71..8e68d611cc0 100644 --- a/dashboards/lodestar_block_processor.json +++ b/dashboards/lodestar_block_processor.json @@ -110,6 +110,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -192,6 +193,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -276,6 +278,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, @@ -359,6 +362,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, @@ -442,6 +446,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 2, "pointSize": 5, @@ -525,6 +530,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -607,6 +613,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -758,7 +765,7 @@ "reverse": false } }, - "pluginVersion": "9.3.2", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -862,7 +869,7 @@ "reverse": false } }, - "pluginVersion": "9.3.2", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -942,7 +949,7 @@ "reverse": false } }, - "pluginVersion": "9.3.2", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -987,6 +994,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 4, @@ -1072,6 +1080,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1148,22 +1157,22 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 22, - "gradientMode": "opacity", + "fillOpacity": 0, + "gradientMode": "none", "hideFrom": { - "graph": false, "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, - "pointSize": 4, + "pointSize": 5, "scaleDistribution": { "type": "linear" }, - "showPoints": "never", - "spanNulls": true, + "showPoints": "auto", + "spanNulls": false, "stacking": { "group": "A", "mode": "none" @@ -1183,21 +1192,19 @@ "x": 0, "y": 50 }, - "id": 524, + "id": 534, "options": { - "graph": {}, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", - "showLegend": false + "showLegend": true }, "tooltip": { "mode": "multi", "sort": "none" } }, - "pluginVersion": "7.4.5", "targets": [ { "datasource": { @@ -1205,15 +1212,14 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "exemplar": false, - "expr": "rate(lodestar_stfn_epoch_transition_commit_seconds_sum[$rate_interval])\n/\nrate(lodestar_stfn_epoch_transition_commit_seconds_count[$rate_interval])", - "interval": "", - "legendFormat": "epoch transition", + "expr": "rate(lodestar_stfn_epoch_transition_step_seconds_sum[$rate_interval])\n/\nrate(lodestar_stfn_epoch_transition_step_seconds_count[$rate_interval])", + "instant": false, + "legendFormat": "{{step}}", "range": true, "refId": "A" } ], - "title": "Epoch transition commit step avg time", + "title": "Epoch Transition By Steps", "type": "timeseries" }, { @@ -1241,6 +1247,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1325,9 +1332,10 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, - "pointSize": 5, + "pointSize": 4, "scaleDistribution": { "type": "linear" }, @@ -1342,25 +1350,9 @@ } }, "mappings": [], - "unit": "percentunit" + "unit": "s" }, - "overrides": [ - { - "matcher": { - "id": "byName", - "options": "process block time" - }, - "properties": [ - { - "id": "color", - "value": { - "fixedColor": "orange", - "mode": "fixed" - } - } - ] - } - ] + "overrides": [] }, "gridPos": { "h": 8, @@ -1368,7 +1360,7 @@ "x": 0, "y": 58 }, - "id": 122, + "id": 524, "options": { "graph": {}, "legend": { @@ -1389,14 +1381,16 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, + "editorMode": "code", "exemplar": false, - "expr": "rate(lodestar_stfn_epoch_transition_seconds_sum[13m])", + "expr": "rate(lodestar_stfn_epoch_transition_commit_seconds_sum[$rate_interval])\n/\nrate(lodestar_stfn_epoch_transition_commit_seconds_count[$rate_interval])", "interval": "", - "legendFormat": "process block time", + "legendFormat": "epoch transition", + "range": true, "refId": "A" } ], - "title": "Epoch transition utilization rate", + "title": "Epoch transition commit step avg time", "type": "timeseries" }, { @@ -1424,6 +1418,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1523,6 +1518,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1540,20 +1536,19 @@ } }, "mappings": [], - "min": 0, - "unit": "none" + "unit": "percentunit" }, "overrides": [ { "matcher": { "id": "byName", - "options": "number of epoch transition" + "options": "process block time" }, "properties": [ { "id": "color", "value": { - "fixedColor": "yellow", + "fixedColor": "orange", "mode": "fixed" } } @@ -1567,7 +1562,7 @@ "x": 0, "y": 66 }, - "id": 124, + "id": 122, "options": { "graph": {}, "legend": { @@ -1589,13 +1584,13 @@ "uid": "${DS_PROMETHEUS}" }, "exemplar": false, - "expr": "384 * rate(lodestar_stfn_epoch_transition_seconds_count[13m])", + "expr": "rate(lodestar_stfn_epoch_transition_seconds_sum[13m])", "interval": "", - "legendFormat": "number of epoch transition", + "legendFormat": "process block time", "refId": "A" } ], - "title": "Epoch transitions / epoch", + "title": "Epoch transition utilization rate", "type": "timeseries" }, { @@ -1623,6 +1618,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1722,6 +1718,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1739,9 +1736,26 @@ } }, "mappings": [], - "unit": "s" + "min": 0, + "unit": "none" }, - "overrides": [] + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "number of epoch transition" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "yellow", + "mode": "fixed" + } + } + ] + } + ] }, "gridPos": { "h": 8, @@ -1749,7 +1763,7 @@ "x": 0, "y": 74 }, - "id": 526, + "id": 124, "options": { "graph": {}, "legend": { @@ -1770,15 +1784,14 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "code", - "expr": "rate(lodestar_stfn_hash_tree_root_seconds_sum[$rate_interval])\n/ on(source)\nrate(lodestar_stfn_hash_tree_root_seconds_count[$rate_interval])", + "exemplar": false, + "expr": "384 * rate(lodestar_stfn_epoch_transition_seconds_count[13m])", "interval": "", - "legendFormat": "__auto", - "range": true, + "legendFormat": "number of epoch transition", "refId": "A" } ], - "title": "State hash_tree_root avg time", + "title": "Epoch transitions / epoch", "type": "timeseries" }, { @@ -1806,6 +1819,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1901,6 +1915,91 @@ "title": "State SSZ cache miss rate on preState", "type": "timeseries" }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 22, + "gradientMode": "opacity", + "hideFrom": { + "graph": false, + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 82 + }, + "id": 526, + "options": { + "graph": {}, + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": false + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "7.4.5", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "rate(lodestar_stfn_hash_tree_root_seconds_sum[$rate_interval])\n/ on(source)\nrate(lodestar_stfn_hash_tree_root_seconds_count[$rate_interval])", + "interval": "", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "State hash_tree_root avg time", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -1911,7 +2010,7 @@ "h": 1, "w": 24, "x": 0, - "y": 82 + "y": 90 }, "id": 92, "panels": [], @@ -1936,7 +2035,7 @@ "h": 3, "w": 24, "x": 0, - "y": 83 + "y": 91 }, "id": 154, "options": { @@ -1948,7 +2047,7 @@ "content": "Verifies signature sets in a thread pool of workers. Must ensure that signatures are verified fast and efficiently.", "mode": "markdown" }, - "pluginVersion": "9.3.2", + "pluginVersion": "10.1.1", "targets": [ { "datasource": { @@ -1989,6 +2088,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2014,7 +2114,7 @@ "h": 8, "w": 12, "x": 0, - "y": 86 + "y": 94 }, "id": 94, "options": { @@ -2069,6 +2169,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2093,7 +2194,7 @@ "h": 8, "w": 12, "x": 12, - "y": 86 + "y": 94 }, "id": 519, "options": { @@ -2150,6 +2251,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2175,7 +2277,7 @@ "h": 8, "w": 12, "x": 0, - "y": 94 + "y": 102 }, "id": 151, "options": { @@ -2236,6 +2338,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2261,7 +2364,7 @@ "h": 8, "w": 12, "x": 12, - "y": 94 + "y": 102 }, "id": 96, "options": { @@ -2322,6 +2425,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2347,7 +2451,7 @@ "h": 5, "w": 12, "x": 0, - "y": 102 + "y": 110 }, "id": 150, "options": { @@ -2408,6 +2512,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2433,7 +2538,7 @@ "h": 8, "w": 12, "x": 12, - "y": 102 + "y": 110 }, "id": 95, "options": { @@ -2494,6 +2599,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2520,7 +2626,7 @@ "h": 6, "w": 12, "x": 0, - "y": 107 + "y": 115 }, "id": 148, "options": { @@ -2591,6 +2697,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2616,7 +2723,7 @@ "h": 7, "w": 12, "x": 12, - "y": 110 + "y": 118 }, "id": 147, "options": { @@ -2677,6 +2784,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2702,7 +2810,7 @@ "h": 5, "w": 12, "x": 0, - "y": 113 + "y": 121 }, "id": 98, "options": { @@ -2759,6 +2867,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2800,7 +2909,7 @@ "h": 7, "w": 12, "x": 12, - "y": 117 + "y": 125 }, "id": 153, "options": { @@ -2870,6 +2979,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -2895,7 +3005,7 @@ "h": 6, "w": 12, "x": 0, - "y": 118 + "y": 126 }, "id": 97, "options": { @@ -2937,7 +3047,7 @@ "h": 1, "w": 24, "x": 0, - "y": 124 + "y": 132 }, "id": 309, "panels": [], @@ -2977,6 +3087,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3032,7 +3143,7 @@ "h": 8, "w": 12, "x": 0, - "y": 125 + "y": 133 }, "id": 305, "options": { @@ -3088,6 +3199,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3128,7 +3240,7 @@ "h": 8, "w": 12, "x": 12, - "y": 125 + "y": 133 }, "id": 307, "options": { @@ -3195,6 +3307,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3219,7 +3332,7 @@ "h": 8, "w": 12, "x": 0, - "y": 133 + "y": 141 }, "id": 335, "options": { @@ -3286,6 +3399,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3310,7 +3424,7 @@ "h": 8, "w": 12, "x": 12, - "y": 133 + "y": 141 }, "id": 334, "options": { @@ -3351,7 +3465,7 @@ "h": 1, "w": 24, "x": 0, - "y": 141 + "y": 149 }, "id": 136, "panels": [], @@ -3393,6 +3507,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3418,7 +3533,7 @@ "h": 8, "w": 12, "x": 0, - "y": 142 + "y": 150 }, "id": 130, "options": { @@ -3477,6 +3592,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3517,7 +3633,7 @@ "h": 8, "w": 12, "x": 12, - "y": 142 + "y": 150 }, "id": 140, "options": { @@ -3577,6 +3693,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3618,7 +3735,7 @@ "h": 8, "w": 12, "x": 0, - "y": 150 + "y": 158 }, "id": 132, "options": { @@ -3701,6 +3818,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineStyle": { "fill": "solid" @@ -3745,7 +3863,7 @@ "h": 8, "w": 12, "x": 12, - "y": 150 + "y": 158 }, "id": 138, "options": { @@ -3817,6 +3935,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3866,7 +3985,7 @@ "h": 8, "w": 12, "x": 0, - "y": 158 + "y": 166 }, "id": 531, "options": { @@ -3957,6 +4076,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -3981,7 +4101,7 @@ "h": 8, "w": 12, "x": 12, - "y": 158 + "y": 166 }, "id": 533, "options": { @@ -4026,7 +4146,7 @@ } ], "refresh": "10s", - "schemaVersion": 37, + "schemaVersion": 38, "style": "dark", "tags": [ "lodestar"