From 45850860977f9d49da7eb47aeaf35e8539ccb83b Mon Sep 17 00:00:00 2001
From: Levente Pap <levente.pap@iota.org>
Date: Mon, 13 Jul 2020 00:14:17 +0200
Subject: [PATCH] Update local_dashboard with msgRequestQueueSize panel

---
 .../grafana/dashboards/local_dashboard.json   | 223 +++++++++++++-----
 1 file changed, 166 insertions(+), 57 deletions(-)

diff --git a/tools/monitoring/grafana/dashboards/local_dashboard.json b/tools/monitoring/grafana/dashboards/local_dashboard.json
index 7e4d3cb1..10cf3ead 100755
--- a/tools/monitoring/grafana/dashboards/local_dashboard.json
+++ b/tools/monitoring/grafana/dashboards/local_dashboard.json
@@ -16,10 +16,11 @@
   "editable": true,
   "gnetId": null,
   "graphTooltip": 0,
-  "id": 1,
+  "id": 2,
   "links": [],
   "panels": [
     {
+      "collapsed": false,
       "datasource": null,
       "gridPos": {
         "h": 1,
@@ -27,6 +28,114 @@
         "x": 0,
         "y": 0
       },
+      "id": 71,
+      "panels": [],
+      "title": "Syncing",
+      "type": "row"
+    },
+    {
+      "aliasColors": {},
+      "bars": false,
+      "dashLength": 10,
+      "dashes": false,
+      "datasource": "Prometheus",
+      "description": "Number of messages currently requested by the message tangle.",
+      "fieldConfig": {
+        "defaults": {
+          "custom": {}
+        },
+        "overrides": []
+      },
+      "fill": 1,
+      "fillGradient": 0,
+      "gridPos": {
+        "h": 8,
+        "w": 12,
+        "x": 0,
+        "y": 1
+      },
+      "hiddenSeries": false,
+      "id": 69,
+      "legend": {
+        "avg": false,
+        "current": false,
+        "max": false,
+        "min": false,
+        "show": true,
+        "total": false,
+        "values": false
+      },
+      "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_request_queue_size",
+          "interval": "",
+          "legendFormat": "Message Request Queue Size",
+          "refId": "A"
+        }
+      ],
+      "thresholds": [],
+      "timeFrom": null,
+      "timeRegions": [],
+      "timeShift": null,
+      "title": "Message Request Queue Size",
+      "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": "0",
+          "show": false
+        }
+      ],
+      "yaxis": {
+        "align": false,
+        "alignLevel": null
+      }
+    },
+    {
+      "datasource": null,
+      "gridPos": {
+        "h": 1,
+        "w": 24,
+        "x": 0,
+        "y": 9
+      },
       "id": 57,
       "title": "Status",
       "type": "row"
@@ -58,7 +167,7 @@
         "h": 2,
         "w": 2,
         "x": 0,
-        "y": 1
+        "y": 10
       },
       "id": 48,
       "options": {
@@ -74,7 +183,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "iota_info_app",
@@ -137,7 +246,7 @@
         "h": 2,
         "w": 2,
         "x": 2,
-        "y": 1
+        "y": 10
       },
       "id": 22,
       "options": {
@@ -153,7 +262,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "sync",
@@ -196,7 +305,7 @@
         "h": 2,
         "w": 2,
         "x": 4,
-        "y": 1
+        "y": 10
       },
       "id": 30,
       "options": {
@@ -212,7 +321,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "irate(tangle_message_total_count[5m])",
@@ -254,7 +363,7 @@
         "h": 2,
         "w": 2,
         "x": 6,
-        "y": 1
+        "y": 10
       },
       "id": 53,
       "options": {
@@ -270,7 +379,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "process_cpu_usage",
@@ -308,7 +417,7 @@
         "h": 2,
         "w": 2,
         "x": 8,
-        "y": 1
+        "y": 10
       },
       "id": 20,
       "options": {
@@ -324,7 +433,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "process_mem_usage_bytes/1024/1024",
@@ -366,7 +475,7 @@
         "h": 2,
         "w": 2,
         "x": 10,
-        "y": 1
+        "y": 10
       },
       "id": 58,
       "options": {
@@ -382,7 +491,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "db_size_bytes/1024/1024",
@@ -403,7 +512,7 @@
         "h": 1,
         "w": 24,
         "x": 0,
-        "y": 3
+        "y": 12
       },
       "id": 55,
       "panels": [],
@@ -442,7 +551,7 @@
         "h": 11,
         "w": 11,
         "x": 0,
-        "y": 4
+        "y": 13
       },
       "hiddenSeries": false,
       "id": 32,
@@ -561,7 +670,7 @@
         "h": 8,
         "w": 13,
         "x": 11,
-        "y": 4
+        "y": 13
       },
       "hiddenSeries": false,
       "id": 4,
@@ -677,7 +786,7 @@
         "h": 4,
         "w": 3,
         "x": 11,
-        "y": 12
+        "y": 21
       },
       "id": 6,
       "options": {
@@ -693,7 +802,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "autopeering_neighbor_connections_count - autopeering_neighbor_drop_count",
@@ -731,7 +840,7 @@
         "h": 4,
         "w": 4,
         "x": 14,
-        "y": 12
+        "y": 21
       },
       "id": 2,
       "options": {
@@ -747,7 +856,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "autopeering_avg_neighbor_connection_lifetime",
@@ -788,7 +897,7 @@
         "h": 4,
         "w": 3,
         "x": 18,
-        "y": 12
+        "y": 21
       },
       "id": 8,
       "options": {
@@ -804,7 +913,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "autopeering_neighbor_connections_count",
@@ -845,7 +954,7 @@
         "h": 4,
         "w": 3,
         "x": 21,
-        "y": 12
+        "y": 21
       },
       "id": 10,
       "options": {
@@ -861,7 +970,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "autopeering_neighbor_drop_count",
@@ -894,7 +1003,7 @@
         "h": 10,
         "w": 11,
         "x": 0,
-        "y": 15
+        "y": 24
       },
       "hiddenSeries": false,
       "id": 52,
@@ -994,7 +1103,7 @@
         "h": 9,
         "w": 7,
         "x": 11,
-        "y": 16
+        "y": 25
       },
       "hiddenSeries": false,
       "id": 16,
@@ -1088,7 +1197,7 @@
         "h": 9,
         "w": 6,
         "x": 18,
-        "y": 16
+        "y": 25
       },
       "hiddenSeries": false,
       "id": 18,
@@ -1182,7 +1291,7 @@
         "h": 10,
         "w": 11,
         "x": 0,
-        "y": 25
+        "y": 34
       },
       "hiddenSeries": false,
       "id": 26,
@@ -1308,7 +1417,7 @@
         "h": 3,
         "w": 6,
         "x": 11,
-        "y": 25
+        "y": 34
       },
       "id": 61,
       "mode": "markdown",
@@ -1340,7 +1449,7 @@
         "h": 2,
         "w": 2,
         "x": 11,
-        "y": 28
+        "y": 37
       },
       "id": 67,
       "options": {
@@ -1356,7 +1465,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_gossip_outbound_bytes",
@@ -1393,7 +1502,7 @@
         "h": 2,
         "w": 2,
         "x": 13,
-        "y": 28
+        "y": 37
       },
       "id": 66,
       "options": {
@@ -1409,7 +1518,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_gossip_inbound_bytes",
@@ -1446,7 +1555,7 @@
         "h": 2,
         "w": 2,
         "x": 15,
-        "y": 28
+        "y": 37
       },
       "id": 59,
       "options": {
@@ -1462,7 +1571,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_analysis_outbound_bytes",
@@ -1499,7 +1608,7 @@
         "h": 2,
         "w": 3,
         "x": 11,
-        "y": 30
+        "y": 39
       },
       "id": 63,
       "options": {
@@ -1515,7 +1624,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_autopeering_outbound_bytes",
@@ -1552,7 +1661,7 @@
         "h": 2,
         "w": 3,
         "x": 14,
-        "y": 30
+        "y": 39
       },
       "id": 62,
       "options": {
@@ -1568,7 +1677,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_autopeering_inbound_bytes",
@@ -1605,7 +1714,7 @@
         "h": 2,
         "w": 2,
         "x": 11,
-        "y": 32
+        "y": 41
       },
       "id": 64,
       "options": {
@@ -1621,7 +1730,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_fpc_inbound_bytes",
@@ -1658,7 +1767,7 @@
         "h": 2,
         "w": 2,
         "x": 13,
-        "y": 32
+        "y": 41
       },
       "id": 65,
       "options": {
@@ -1674,7 +1783,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "traffic_fpc_outbound_bytes",
@@ -1695,7 +1804,7 @@
         "h": 1,
         "w": 24,
         "x": 0,
-        "y": 35
+        "y": 44
       },
       "id": 34,
       "panels": [],
@@ -1720,7 +1829,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 36
+        "y": 45
       },
       "hiddenSeries": false,
       "id": 36,
@@ -1823,7 +1932,7 @@
         "h": 8,
         "w": 4,
         "x": 12,
-        "y": 36
+        "y": 45
       },
       "id": 38,
       "options": {
@@ -1839,7 +1948,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "fpc_avg_rounds_to_finalize",
@@ -1880,7 +1989,7 @@
         "h": 8,
         "w": 3,
         "x": 16,
-        "y": 36
+        "y": 45
       },
       "id": 42,
       "options": {
@@ -1896,7 +2005,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "fpc_finalized_conflicts",
@@ -1937,7 +2046,7 @@
         "h": 8,
         "w": 3,
         "x": 19,
-        "y": 36
+        "y": 45
       },
       "id": 40,
       "options": {
@@ -1953,7 +2062,7 @@
           "values": false
         }
       },
-      "pluginVersion": "7.0.3",
+      "pluginVersion": "7.0.4",
       "targets": [
         {
           "expr": "fpc_failed_conflicts",
@@ -1986,7 +2095,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 44
+        "y": 53
       },
       "hiddenSeries": false,
       "id": 44,
@@ -2080,7 +2189,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 44
+        "y": 53
       },
       "hiddenSeries": false,
       "id": 50,
@@ -2175,7 +2284,7 @@
         "h": 8,
         "w": 12,
         "x": 0,
-        "y": 52
+        "y": 61
       },
       "hiddenSeries": false,
       "id": 49,
@@ -2269,7 +2378,7 @@
         "h": 8,
         "w": 12,
         "x": 12,
-        "y": 52
+        "y": 61
       },
       "hiddenSeries": false,
       "id": 46,
@@ -2376,5 +2485,5 @@
   "timezone": "",
   "title": "GoShimmer Local Metrics",
   "uid": "kjOQZ2ZMk",
-  "version": 5
-}
+  "version": 8
+}
\ No newline at end of file
-- 
GitLab