summaryrefslogtreecommitdiffstats
path: root/tools/grafana/Dashboard.json
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grafana/Dashboard.json')
-rw-r--r--tools/grafana/Dashboard.json380
1 files changed, 322 insertions, 58 deletions
diff --git a/tools/grafana/Dashboard.json b/tools/grafana/Dashboard.json
index 3160296..2ea9eec 100644
--- a/tools/grafana/Dashboard.json
+++ b/tools/grafana/Dashboard.json
@@ -11,7 +11,7 @@
"rows": [
{
"collapse": false,
- "height": 273,
+ "height": 401,
"panels": [
{
"aliasColors": {},
@@ -31,13 +31,15 @@
"id": 3,
"interval": "30s",
"legend": {
- "alignAsTable": false,
+ "alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"rightSide": false,
"show": true,
+ "sort": "current",
+ "sortDesc": true,
"total": false,
"values": true
},
@@ -79,6 +81,12 @@
"load-shortterm"
],
"type": "field"
+ },
+ {
+ "params": [
+ "5"
+ ],
+ "type": "moving_average"
}
]
],
@@ -140,15 +148,28 @@
"dashes": false,
"datasource": "VESEvents",
"fill": 1,
- "id": 5,
+ "grid": {
+ "leftLogBase": 1,
+ "leftMax": null,
+ "leftMin": null,
+ "rightLogBase": 1,
+ "rightMax": null,
+ "rightMin": null
+ },
+ "id": 6,
+ "interval": "30s",
"legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
+ "alignAsTable": true,
+ "avg": true,
+ "current": true,
+ "max": true,
+ "min": true,
+ "rightSide": false,
"show": true,
+ "sort": "current",
+ "sortDesc": true,
"total": false,
- "values": false
+ "values": true
},
"lines": true,
"linewidth": 1,
@@ -173,20 +194,33 @@
"system"
],
"type": "tag"
+ },
+ {
+ "params": [
+ "cpu"
+ ],
+ "type": "tag"
}
],
- "measurement": "memoryUsage",
+ "measurement": "cpuUsage",
"orderByTime": "ASC",
- "policy": "autogen",
- "refId": "A",
+ "policy": "default",
+ "query": "SELECT mean(\"cpusystem\") FROM \"cpu\" WHERE $timeFilter GROUP BY time(1m) fill(null)",
+ "refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
- "memoryFree"
+ "cpuUsageUser"
],
"type": "field"
+ },
+ {
+ "params": [
+ "5"
+ ],
+ "type": "moving_average"
}
]
],
@@ -202,13 +236,14 @@
"thresholds": [],
"timeFrom": null,
"timeShift": null,
- "title": "Memory",
+ "title": "host CPU Usage User",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
+ "x-axis": true,
"xaxis": {
"buckets": null,
"mode": "time",
@@ -216,11 +251,16 @@
"show": true,
"values": []
},
+ "y-axis": true,
+ "y_formats": [
+ "short",
+ "short"
+ ],
"yaxes": [
{
"format": "short",
- "label": null,
- "logBase": 10,
+ "label": "Percent",
+ "logBase": 1,
"max": null,
"min": null,
"show": true
@@ -245,7 +285,7 @@
},
{
"collapse": false,
- "height": 433,
+ "height": 442,
"panels": [
{
"aliasColors": {},
@@ -267,11 +307,13 @@
"legend": {
"alignAsTable": true,
"avg": true,
- "current": false,
- "max": false,
- "min": false,
+ "current": true,
+ "max": true,
+ "min": true,
"rightSide": false,
"show": true,
+ "sort": "current",
+ "sortDesc": true,
"total": false,
"values": true
},
@@ -319,6 +361,12 @@
"receivedTotalPacketsAccumulated"
],
"type": "field"
+ },
+ {
+ "params": [
+ "5"
+ ],
+ "type": "moving_average"
}
]
],
@@ -393,11 +441,13 @@
"legend": {
"alignAsTable": true,
"avg": true,
- "current": false,
- "max": false,
- "min": false,
+ "current": true,
+ "max": true,
+ "min": true,
"rightSide": false,
"show": true,
+ "sort": "current",
+ "sortDesc": true,
"total": false,
"values": true
},
@@ -444,6 +494,12 @@
"receivedOctetsAccumulated"
],
"type": "field"
+ },
+ {
+ "params": [
+ "5"
+ ],
+ "type": "moving_average"
}
]
],
@@ -505,6 +561,246 @@
"showTitle": false,
"title": "Dashboard Row",
"titleSize": "h6"
+ },
+ {
+ "collapse": false,
+ "height": 362,
+ "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": false,
+ "total": false,
+ "values": true
+ },
+ "lines": true,
+ "linewidth": 1,
+ "links": [],
+ "nullPointMode": "null",
+ "percentage": false,
+ "pointradius": 5,
+ "points": false,
+ "renderer": "flot",
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "span": 6,
+ "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": [
+ "memoryFree"
+ ],
+ "type": "field"
+ }
+ ]
+ ],
+ "tags": [
+ {
+ "key": "system",
+ "operator": "=~",
+ "value": "/^$host$/"
+ }
+ ]
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Memory",
+ "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
+ }
+ ]
+ },
+ {
+ "aliasColors": {},
+ "bars": false,
+ "dashLength": 10,
+ "dashes": false,
+ "datasource": "VESEvents",
+ "fill": 1,
+ "id": 7,
+ "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": 6,
+ "stack": false,
+ "steppedLine": false,
+ "targets": [
+ {
+ "alias": "",
+ "dsType": "influxdb",
+ "groupBy": [
+ {
+ "params": [
+ "system"
+ ],
+ "type": "tag"
+ },
+ {
+ "params": [
+ "disk"
+ ],
+ "type": "tag"
+ }
+ ],
+ "measurement": "diskUsage",
+ "orderByTime": "ASC",
+ "policy": "autogen",
+ "refId": "A",
+ "resultFormat": "time_series",
+ "select": [
+ [
+ {
+ "params": [
+ "diskOpsWriteLast"
+ ],
+ "type": "field"
+ },
+ {
+ "params": [
+ "5"
+ ],
+ "type": "moving_average"
+ }
+ ]
+ ],
+ "tags": [
+ {
+ "key": "system",
+ "operator": "=~",
+ "value": "/^$host$/"
+ },
+ {
+ "condition": "AND",
+ "key": "disk",
+ "operator": "=",
+ "value": "sda"
+ }
+ ]
+ }
+ ],
+ "thresholds": [],
+ "timeFrom": null,
+ "timeShift": null,
+ "title": "Disk Usage",
+ "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"
}
],
"schemaVersion": 14,
@@ -514,48 +810,16 @@
"list": [
{
"allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": [
- "$__all"
- ]
- },
+ "current": {},
"datasource": "VESEvents",
"hide": 0,
"includeAll": true,
"label": "host",
"multi": true,
"name": "host",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "4C4C4544-004C-4E10-8054-B6C04F475831",
- "value": "4C4C4544-004C-4E10-8054-B6C04F475831"
- },
- {
- "selected": false,
- "text": "4C4C4544-004C-4E10-8057-B6C04F475831",
- "value": "4C4C4544-004C-4E10-8057-B6C04F475831"
- },
- {
- "selected": false,
- "text": "4C4C4544-004C-5010-8053-B6C04F475831",
- "value": "4C4C4544-004C-5010-8053-B6C04F475831"
- },
- {
- "selected": false,
- "text": "4C4C4544-004E-3110-8051-C3C04F445631",
- "value": "4C4C4544-004E-3110-8051-C3C04F445631"
- }
- ],
+ "options": [],
"query": "SHOW TAG VALUES WITH KEY=system",
- "refresh": 0,
+ "refresh": 1,
"regex": "",
"sort": 0,
"tagValuesQuery": "",
@@ -592,6 +856,6 @@
},
"timezone": "browser",
"title": "VES Demo",
- "version": 2
+ "version": 3
}
}