More dashboard improvements 21/47621/1
authorBryan Sullivan <bryan.sullivan@att.com>
Wed, 22 Nov 2017 03:33:19 +0000 (19:33 -0800)
committerBryan Sullivan <bryan.sullivan@att.com>
Wed, 22 Nov 2017 03:33:19 +0000 (19:33 -0800)
JIRA: VES-2

Change-Id: I1373255d253f8fadae5a0c74aeb789369c92460f
Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
tools/grafana/Dashboard.json

index 2ea9eec..b88646c 100644 (file)
           "dashes": false,
           "datasource": "VESEvents",
           "fill": 1,
-          "id": 5,
+          "id": 7,
           "legend": {
             "alignAsTable": true,
             "avg": true,
             "min": true,
             "show": true,
             "sort": "current",
-            "sortDesc": false,
+            "sortDesc": true,
             "total": false,
             "values": true
           },
                     "system"
                   ],
                   "type": "tag"
+                },
+                {
+                  "params": [
+                    "disk"
+                  ],
+                  "type": "tag"
                 }
               ],
-              "measurement": "memoryUsage",
+              "measurement": "diskUsage",
               "orderByTime": "ASC",
               "policy": "autogen",
               "refId": "A",
                 [
                   {
                     "params": [
-                      "memoryFree"
+                      "diskOpsWriteLast"
                     ],
                     "type": "field"
+                  },
+                  {
+                    "params": [
+                      "5"
+                    ],
+                    "type": "moving_average"
                   }
                 ]
               ],
                   "key": "system",
                   "operator": "=~",
                   "value": "/^$host$/"
+                },
+                {
+                  "condition": "AND",
+                  "key": "disk",
+                  "operator": "=",
+                  "value": "sda"
                 }
               ]
             }
           "thresholds": [],
           "timeFrom": null,
           "timeShift": null,
-          "title": "Memory",
+          "title": "Disk Usage SDA",
           "tooltip": {
             "shared": true,
             "sort": 0,
           "dashes": false,
           "datasource": "VESEvents",
           "fill": 1,
-          "id": 7,
+          "id": 8,
           "legend": {
             "alignAsTable": true,
             "avg": true,
                   "condition": "AND",
                   "key": "disk",
                   "operator": "=",
-                  "value": "sda"
+                  "value": "sdb"
                 }
               ]
             }
           "thresholds": [],
           "timeFrom": null,
           "timeShift": null,
-          "title": "Disk Usage",
+          "title": "Disk Usage SDB",
+          "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": 10,
+              "max": null,
+              "min": null,
+              "show": true
+            },
+            {
+              "format": "short",
+              "label": null,
+              "logBase": 1,
+              "max": null,
+              "min": null,
+              "show": true
+            }
+          ]
+        }
+      ],
+      "repeat": null,
+      "repeatIteration": null,
+      "repeatRowId": null,
+      "showTitle": false,
+      "title": "Dashboard Row",
+      "titleSize": "h6"
+    },
+    {
+      "collapse": false,
+      "height": 250,
+      "panels": [
+        {
+          "aliasColors": {},
+          "bars": false,
+          "dashLength": 10,
+          "dashes": false,
+          "datasource": "VESEvents",
+          "fill": 1,
+          "id": 5,
+          "legend": {
+            "alignAsTable": true,
+            "avg": true,
+            "current": true,
+            "max": true,
+            "min": true,
+            "show": true,
+            "sort": "current",
+            "sortDesc": true,
+            "total": false,
+            "values": true
+          },
+          "lines": true,
+          "linewidth": 1,
+          "links": [],
+          "nullPointMode": "null",
+          "percentage": false,
+          "pointradius": 5,
+          "points": false,
+          "renderer": "flot",
+          "seriesOverrides": [],
+          "spaceLength": 10,
+          "span": 12,
+          "stack": false,
+          "steppedLine": false,
+          "targets": [
+            {
+              "alias": "",
+              "dsType": "influxdb",
+              "groupBy": [
+                {
+                  "params": [
+                    "system"
+                  ],
+                  "type": "tag"
+                }
+              ],
+              "measurement": "memoryUsage",
+              "orderByTime": "ASC",
+              "policy": "autogen",
+              "refId": "A",
+              "resultFormat": "time_series",
+              "select": [
+                [
+                  {
+                    "params": [
+                      "memoryUsed"
+                    ],
+                    "type": "field"
+                  }
+                ]
+              ],
+              "tags": [
+                {
+                  "key": "system",
+                  "operator": "=~",
+                  "value": "/^$host$/"
+                }
+              ]
+            }
+          ],
+          "thresholds": [],
+          "timeFrom": null,
+          "timeShift": null,
+          "title": "Memory",
           "tooltip": {
             "shared": true,
             "sort": 0,
   },
   "timezone": "browser",
   "title": "VES Demo",
-  "version": 3
+  "version": 4
 }
 }