From 34691018cab55ff2919eabbb7ad2e40f7650077a Mon Sep 17 00:00:00 2001 From: Marcos Nicolau Date: Tue, 22 Oct 2024 16:23:28 -0300 Subject: [PATCH] chore: grafana view for metrics --- .../aligned/aggregator_batcher.json | 112 +++++++++++++++++- 1 file changed, 106 insertions(+), 6 deletions(-) diff --git a/grafana/provisioning/dashboards/aligned/aggregator_batcher.json b/grafana/provisioning/dashboards/aligned/aggregator_batcher.json index 7f7c765ef..56d61ff33 100644 --- a/grafana/provisioning/dashboards/aligned/aggregator_batcher.json +++ b/grafana/provisioning/dashboards/aligned/aggregator_batcher.json @@ -758,7 +758,7 @@ "h": 7, "w": 10, "x": 0, - "y": 34 + "y": 20 }, "id": 9, "options": { @@ -910,7 +910,7 @@ "h": 7, "w": 10, "x": 10, - "y": 34 + "y": 20 }, "id": 1, "options": { @@ -974,7 +974,7 @@ "h": 7, "w": 5, "x": 0, - "y": 41 + "y": 27 }, "id": 8, "options": { @@ -1044,7 +1044,7 @@ "h": 7, "w": 5, "x": 5, - "y": 41 + "y": 27 }, "id": 7, "options": { @@ -1083,6 +1083,106 @@ "title": "Tasks Received", "type": "stat" }, + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "description": "Number of times gas price was bumped while sending an aggregated response.", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "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": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 7, + "w": 10, + "x": 10, + "y": 27 + }, + "id": 20, + "interval": "36", + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "disableTextWrap": false, + "editorMode": "builder", + "expr": "aligned_respond_to_task_gas_price_bumped", + "fullMetaSearch": false, + "includeNullMetadata": true, + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A", + "useBackend": false + } + ], + "title": "Bumped gas price for aggregated responses", + "type": "timeseries" + }, { "datasource": { "type": "prometheus", @@ -1109,7 +1209,7 @@ "h": 7, "w": 5, "x": 0, - "y": 48 + "y": 34 }, "id": 2, "options": { @@ -1179,7 +1279,7 @@ "h": 7, "w": 5, "x": 5, - "y": 48 + "y": 34 }, "id": 5, "options": {