From b4006e7b4842c675a8596bd4629637fc4a2fb343 Mon Sep 17 00:00:00 2001 From: Tuyen Nguyen Date: Wed, 17 Apr 2024 16:06:41 +0700 Subject: [PATCH] chore: track leaked connections in grafana --- dashboards/lodestar_networking.json | 282 +++++++++++++++++++++------- 1 file changed, 214 insertions(+), 68 deletions(-) diff --git a/dashboards/lodestar_networking.json b/dashboards/lodestar_networking.json index e17cabf32048..d1c40e659194 100644 --- a/dashboards/lodestar_networking.json +++ b/dashboards/lodestar_networking.json @@ -90,6 +90,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -177,6 +178,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -259,6 +261,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -341,6 +344,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -527,8 +531,10 @@ "id": 70, "options": { "displayMode": "lcd", + "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -538,10 +544,11 @@ "values": false }, "showUnfilled": true, + "sizing": "auto", "text": {}, "valueMode": "color" }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -582,8 +589,10 @@ "id": 68, "options": { "displayMode": "lcd", + "maxVizHeight": 300, "minVizHeight": 10, "minVizWidth": 0, + "namePlacement": "auto", "orientation": "auto", "reduceOptions": { "calcs": [ @@ -593,10 +602,11 @@ "values": false }, "showUnfilled": true, + "sizing": "auto", "text": {}, "valueMode": "color" }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -624,6 +634,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -705,6 +716,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -829,7 +841,8 @@ "layout": "auto" }, "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -837,7 +850,7 @@ "reverse": false } }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -880,6 +893,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -995,6 +1009,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1134,6 +1149,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1220,6 +1236,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1307,6 +1324,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1454,7 +1472,8 @@ }, "showValue": "never", "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -1463,7 +1482,7 @@ "unit": "short" } }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "reverseYBuckets": false, "targets": [ { @@ -1507,6 +1526,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1653,7 +1673,8 @@ }, "showValue": "never", "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -1662,7 +1683,7 @@ "unit": "short" } }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "reverseYBuckets": false, "targets": [ { @@ -1765,7 +1786,8 @@ }, "showValue": "never", "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -1774,7 +1796,7 @@ "unit": "short" } }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "reverseYBuckets": false, "targets": [ { @@ -1818,6 +1840,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -1933,6 +1956,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2017,6 +2041,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2091,6 +2116,88 @@ "title": "Peer connect events offset (must be 0-1)", "type": "timeseries" }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [] + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 85 + }, + "id": 625, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "lodestar_peer_manager_leaked_connections_count", + "instant": false, + "legendFormat": "leaked_connections", + "range": true, + "refId": "A" + } + ], + "title": "Leaked connections", + "type": "timeseries" + }, { "collapsed": false, "datasource": { @@ -2101,7 +2208,7 @@ "h": 1, "w": 24, "x": 0, - "y": 85 + "y": 93 }, "id": 512, "panels": [], @@ -2138,7 +2245,7 @@ "h": 7, "w": 12, "x": 0, - "y": 86 + "y": 94 }, "hiddenSeries": false, "id": 294, @@ -2158,7 +2265,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "pointradius": 2, "points": false, "renderer": "flot", @@ -2248,7 +2355,7 @@ "h": 7, "w": 6, "x": 12, - "y": 86 + "y": 94 }, "hiddenSeries": false, "id": 296, @@ -2268,7 +2375,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "pointradius": 2, "points": false, "renderer": "flot", @@ -2344,7 +2451,7 @@ "h": 7, "w": 6, "x": 18, - "y": 86 + "y": 94 }, "hiddenSeries": false, "id": 297, @@ -2364,7 +2471,7 @@ "alertThreshold": true }, "percentage": false, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "pointradius": 2, "points": false, "renderer": "flot", @@ -2430,6 +2537,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2468,7 +2576,7 @@ "h": 8, "w": 12, "x": 0, - "y": 93 + "y": 101 }, "id": 611, "options": { @@ -2510,6 +2618,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2573,7 +2682,7 @@ "h": 8, "w": 12, "x": 12, - "y": 93 + "y": 101 }, "id": 613, "options": { @@ -2614,7 +2723,7 @@ "h": 1, "w": 24, "x": 0, - "y": 101 + "y": 109 }, "id": 75, "panels": [], @@ -2641,6 +2750,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2681,7 +2791,7 @@ "h": 8, "w": 12, "x": 0, - "y": 102 + "y": 110 }, "id": 77, "options": { @@ -2725,6 +2835,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2765,7 +2876,7 @@ "h": 8, "w": 12, "x": 12, - "y": 102 + "y": 110 }, "id": 80, "options": { @@ -2809,6 +2920,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2849,7 +2961,7 @@ "h": 9, "w": 12, "x": 0, - "y": 110 + "y": 118 }, "id": 79, "options": { @@ -2894,6 +3006,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -2934,7 +3047,7 @@ "h": 8, "w": 12, "x": 12, - "y": 110 + "y": 118 }, "id": 78, "options": { @@ -2977,6 +3090,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3017,7 +3131,7 @@ "h": 10, "w": 12, "x": 12, - "y": 118 + "y": 126 }, "id": 88, "options": { @@ -3061,6 +3175,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3101,7 +3216,7 @@ "h": 10, "w": 12, "x": 0, - "y": 119 + "y": 127 }, "id": 82, "options": { @@ -3147,6 +3262,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3186,7 +3302,7 @@ "h": 8, "w": 12, "x": 12, - "y": 128 + "y": 136 }, "id": 333, "options": { @@ -3243,6 +3359,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3283,7 +3400,7 @@ "h": 8, "w": 12, "x": 0, - "y": 129 + "y": 137 }, "id": 244, "options": { @@ -3344,7 +3461,7 @@ "h": 1, "w": 24, "x": 0, - "y": 137 + "y": 145 }, "id": 524, "panels": [], @@ -3362,6 +3479,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3425,7 +3543,7 @@ "h": 8, "w": 12, "x": 0, - "y": 138 + "y": 146 }, "id": 514, "options": { @@ -3491,6 +3609,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3530,7 +3649,7 @@ "h": 5, "w": 12, "x": 12, - "y": 138 + "y": 146 }, "id": 520, "options": { @@ -3572,6 +3691,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3612,7 +3732,7 @@ "h": 5, "w": 12, "x": 12, - "y": 143 + "y": 151 }, "id": 522, "options": { @@ -3668,7 +3788,7 @@ "h": 8, "w": 12, "x": 0, - "y": 146 + "y": 154 }, "id": 518, "options": { @@ -3696,7 +3816,8 @@ "layout": "auto" }, "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -3704,7 +3825,7 @@ "reverse": false } }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -3734,6 +3855,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3774,7 +3896,7 @@ "h": 6, "w": 12, "x": 12, - "y": 148 + "y": 156 }, "id": 521, "options": { @@ -3817,6 +3939,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3855,7 +3978,7 @@ "h": 8, "w": 12, "x": 12, - "y": 154 + "y": 162 }, "id": 542, "options": { @@ -3892,7 +4015,7 @@ "h": 1, "w": 24, "x": 0, - "y": 162 + "y": 170 }, "id": 528, "panels": [], @@ -3910,6 +4033,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -3948,7 +4072,7 @@ "h": 8, "w": 12, "x": 0, - "y": 163 + "y": 171 }, "id": 526, "options": { @@ -3990,6 +4114,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4046,7 +4171,7 @@ "h": 8, "w": 12, "x": 12, - "y": 163 + "y": 171 }, "id": 530, "options": { @@ -4100,6 +4225,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4151,7 +4277,7 @@ "h": 8, "w": 12, "x": 0, - "y": 171 + "y": 179 }, "id": 534, "options": { @@ -4205,6 +4331,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4243,7 +4370,7 @@ "h": 8, "w": 12, "x": 12, - "y": 171 + "y": 179 }, "id": 532, "options": { @@ -4285,6 +4412,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4340,7 +4468,7 @@ "h": 8, "w": 12, "x": 0, - "y": 179 + "y": 187 }, "id": 536, "options": { @@ -4394,6 +4522,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4449,7 +4578,7 @@ "h": 8, "w": 12, "x": 12, - "y": 179 + "y": 187 }, "id": 538, "options": { @@ -4503,6 +4632,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4542,7 +4672,7 @@ "h": 8, "w": 12, "x": 0, - "y": 187 + "y": 195 }, "id": 624, "options": { @@ -4585,6 +4715,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4641,7 +4772,7 @@ "h": 8, "w": 12, "x": 12, - "y": 187 + "y": 195 }, "id": 617, "options": { @@ -4707,6 +4838,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4746,7 +4878,7 @@ "h": 8, "w": 12, "x": 0, - "y": 195 + "y": 203 }, "id": 619, "options": { @@ -4801,7 +4933,7 @@ "h": 8, "w": 12, "x": 12, - "y": 195 + "y": 203 }, "id": 621, "options": { @@ -4829,7 +4961,8 @@ "layout": "auto" }, "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -4837,7 +4970,7 @@ "reverse": false } }, - "pluginVersion": "10.1.1", + "pluginVersion": "10.4.1", "targets": [ { "datasource": { @@ -4863,7 +4996,7 @@ "h": 1, "w": 24, "x": 0, - "y": 203 + "y": 211 }, "id": 600, "panels": [], @@ -4881,6 +5014,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -4920,7 +5054,7 @@ "h": 8, "w": 12, "x": 0, - "y": 204 + "y": 212 }, "id": 602, "options": { @@ -5010,6 +5144,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5049,7 +5184,7 @@ "h": 8, "w": 12, "x": 12, - "y": 204 + "y": 212 }, "id": 604, "options": { @@ -5139,6 +5274,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5202,7 +5338,7 @@ "h": 8, "w": 12, "x": 0, - "y": 212 + "y": 220 }, "id": 603, "options": { @@ -5244,6 +5380,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5282,7 +5419,7 @@ "h": 8, "w": 12, "x": 12, - "y": 212 + "y": 220 }, "id": 601, "options": { @@ -5323,7 +5460,7 @@ "h": 1, "w": 24, "x": 0, - "y": 220 + "y": 228 }, "id": 188, "panels": [], @@ -5350,6 +5487,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5389,7 +5527,7 @@ "h": 8, "w": 12, "x": 0, - "y": 221 + "y": 229 }, "id": 180, "options": { @@ -5431,6 +5569,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5471,7 +5610,7 @@ "h": 8, "w": 12, "x": 12, - "y": 221 + "y": 229 }, "id": 176, "options": { @@ -5513,6 +5652,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5553,7 +5693,7 @@ "h": 8, "w": 12, "x": 0, - "y": 229 + "y": 237 }, "id": 182, "options": { @@ -5595,6 +5735,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5635,7 +5776,7 @@ "h": 8, "w": 12, "x": 12, - "y": 229 + "y": 237 }, "id": 178, "options": { @@ -5677,6 +5818,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5717,7 +5859,7 @@ "h": 8, "w": 12, "x": 0, - "y": 237 + "y": 245 }, "id": 605, "options": { @@ -5761,6 +5903,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5801,7 +5944,7 @@ "h": 8, "w": 12, "x": 12, - "y": 237 + "y": 245 }, "id": 606, "options": { @@ -5845,6 +5988,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5885,7 +6029,7 @@ "h": 8, "w": 12, "x": 0, - "y": 245 + "y": 253 }, "id": 498, "options": { @@ -5927,6 +6071,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -5967,7 +6112,7 @@ "h": 8, "w": 12, "x": 12, - "y": 245 + "y": 253 }, "id": 500, "options": { @@ -6009,6 +6154,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -6049,7 +6195,7 @@ "h": 8, "w": 12, "x": 0, - "y": 253 + "y": 261 }, "id": 184, "options": { @@ -6091,6 +6237,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -6131,7 +6278,7 @@ "h": 8, "w": 12, "x": 12, - "y": 253 + "y": 261 }, "id": 501, "options": { @@ -6164,8 +6311,7 @@ } ], "refresh": "10s", - "schemaVersion": 38, - "style": "dark", + "schemaVersion": 39, "tags": [ "lodestar" ],