From 5ba853ece6bdc0097d11c43bc91d07c6784cd381 Mon Sep 17 00:00:00 2001 From: Levente Pap <levente.pap@iota.org> Date: Tue, 14 Jul 2020 12:03:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=88=20Add=20"Messages=20in=20DB"=20cha?= =?UTF-8?q?rt=20to=20local=20grafana=20dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../grafana/dashboards/local_dashboard.json | 113 +++++++++++++++++- 1 file changed, 111 insertions(+), 2 deletions(-) diff --git a/tools/monitoring/grafana/dashboards/local_dashboard.json b/tools/monitoring/grafana/dashboards/local_dashboard.json index 10cf3ead..7b79fbd7 100755 --- a/tools/monitoring/grafana/dashboards/local_dashboard.json +++ b/tools/monitoring/grafana/dashboards/local_dashboard.json @@ -16,7 +16,7 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": 2, + "id": 1, "links": [], "panels": [ { @@ -128,6 +128,115 @@ "alignLevel": null } }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Prometheus", + "description": "Describes the amount of total, solid and not solid messages in the node's database", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 1 + }, + "hiddenSeries": false, + "id": 73, + "legend": { + "alignAsTable": true, + "avg": false, + "current": true, + "max": false, + "min": false, + "rightSide": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "tangle_message_solid_count", + "interval": "", + "legendFormat": "Solid Messages in DB", + "refId": "A" + }, + { + "expr": "tangle_message_total_count_db - tangle_message_solid_count", + "interval": "", + "legendFormat": "Not Solid Messages in DB", + "refId": "B" + }, + { + "expr": "tangle_message_total_count_db", + "interval": "", + "legendFormat": "Total Messages in DB", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Messages in Database", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, { "datasource": null, "gridPos": { @@ -2485,5 +2594,5 @@ "timezone": "", "title": "GoShimmer Local Metrics", "uid": "kjOQZ2ZMk", - "version": 8 + "version": 4 } \ No newline at end of file -- GitLab