From 57a547a5fe53524e345f6a025d17efe0601bdd9e Mon Sep 17 00:00:00 2001 From: Haruki Yamanashi Date: Fri, 1 Dec 2017 09:54:53 +0900 Subject: [PATCH] Add OpenStack default dashboard This dashboard includes following monitoring target. - HTTP status check of Nova, Neutron, Glance, Cinder, Swift, Keystone. - Resource usage - Network usage Change-Id: I18254c7447d468b5509b6231dfaf845926210934 --- examples/openstack_default_dashboard.json | 958 ++++++++++++++++++++++ 1 file changed, 958 insertions(+) create mode 100644 examples/openstack_default_dashboard.json diff --git a/examples/openstack_default_dashboard.json b/examples/openstack_default_dashboard.json new file mode 100644 index 0000000..cca9704 --- /dev/null +++ b/examples/openstack_default_dashboard.json @@ -0,0 +1,958 @@ +{ + "id": null, + "title": "Openstack Dashboard", + "originalTitle": "Openstack Dashboard", + "tags": [], + "style": "light", + "timezone": "browser", + "editable": true, + "hideControls": false, + "sharedCrosshair": false, + "rows": [ + { + "title": "OpenStack Health", + "height": "100px", + "editable": true, + "collapse": false, + "collapsable": true, + "panels": [ + { + "title": "compute (Nova)", + "error": false, + "span": 2, + "editable": true, + "type": "singlestat", + "id": 1, + "links": [], + "maxDataPoints": 100, + "interval": null, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "http_status", + "condition_filter": true, + "dimensions": [{"key": "service", "value": "compute"}] + } + ], + "cacheTimeout": null, + "format": "none", + "prefix": "", + "postfix": "", + "nullText": null, + "valueMaps": [ + { + "value": "0", + "op": "=", + "text": "UP" + }, + { + "value": "1", + "op": "=", + "text": "DOWN" + } + ], + "nullPointMode": "connected", + "valueName": "current", + "prefixFontSize": "50%", + "valueFontSize": "80%", + "postfixFontSize": "50%", + "thresholds": "-1.0,0.2,0.8", + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "sparkline": { + "show": false, + "full": false, + "lineColor": "rgb(31, 120, 193)", + "fillColor": "rgba(31, 118, 189, 0.18)" + }, + "height": "100" + }, + { + "title": "networking (Neutron)", + "error": false, + "span": 2, + "editable": true, + "type": "singlestat", + "id": 4, + "links": [], + "maxDataPoints": 100, + "interval": null, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "http_status", + "condition_filter": true, + "dimensions": [{"key": "service", "value": "networking"}] + } + ], + "cacheTimeout": null, + "format": "none", + "prefix": "", + "postfix": "", + "nullText": null, + "valueMaps": [ + { + "value": "0", + "op": "=", + "text": "UP" + }, + { + "value": "1", + "op": "=", + "text": "DOWN" + } + ], + "nullPointMode": "connected", + "valueName": "current", + "prefixFontSize": "50%", + "valueFontSize": "80%", + "postfixFontSize": "50%", + "thresholds": "-1.0,0.2,0.8", + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "sparkline": { + "show": false, + "full": false, + "lineColor": "rgb(31, 120, 193)", + "fillColor": "rgba(31, 118, 189, 0.18)" + }, + "height": "100" + }, + { + "title": "image-service (Glance)", + "error": false, + "span": 2, + "editable": true, + "type": "singlestat", + "id": 5, + "links": [], + "maxDataPoints": 100, + "interval": null, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "http_status", + "condition_filter": true, + "dimensions": [{"key": "service", "value": "image-service"}] + } + ], + "cacheTimeout": null, + "format": "none", + "prefix": "", + "postfix": "", + "nullText": null, + "valueMaps": [ + { + "value": "0", + "op": "=", + "text": "UP" + }, + { + "value": "1", + "op": "=", + "text": "DOWN" + } + ], + "nullPointMode": "connected", + "valueName": "current", + "prefixFontSize": "50%", + "valueFontSize": "80%", + "postfixFontSize": "50%", + "thresholds": "-1.0,0.2,0.8", + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "sparkline": { + "show": false, + "full": false, + "lineColor": "rgb(31, 120, 193)", + "fillColor": "rgba(31, 118, 189, 0.18)" + }, + "height": "100" + }, + { + "title": "block-storage (Cinder)", + "error": false, + "span": 2, + "editable": true, + "type": "singlestat", + "id": 7, + "links": [], + "maxDataPoints": 100, + "interval": null, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "http_status", + "condition_filter": true, + "dimensions": [{"key": "service", "value": "block-storage"}] + } + ], + "cacheTimeout": null, + "format": "none", + "prefix": "", + "postfix": "", + "nullText": null, + "valueMaps": [ + { + "value": "0", + "op": "=", + "text": "UP" + }, + { + "value": "1", + "op": "=", + "text": "DOWN" + } + ], + "nullPointMode": "connected", + "valueName": "current", + "prefixFontSize": "50%", + "valueFontSize": "80%", + "postfixFontSize": "50%", + "thresholds": "-1.0,0.2,0.8", + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "sparkline": { + "show": false, + "full": false, + "lineColor": "rgb(31, 120, 193)", + "fillColor": "rgba(31, 118, 189, 0.18)" + }, + "height": "100" + }, + { + "title": "object-storage (Swift)", + "error": false, + "span": 2, + "editable": true, + "type": "singlestat", + "id": 8, + "links": [], + "maxDataPoints": 100, + "interval": null, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "http_status", + "dimensions": [{"key": "service", "value": "object-storage"}] + } + ], + "cacheTimeout": null, + "format": "none", + "prefix": "", + "postfix": "", + "nullText": null, + "valueMaps": [ + { + "value": "0", + "op": "=", + "text": "UP" + }, + { + "value": "1", + "op": "=", + "text": "DOWN" + } + ], + "nullPointMode": "connected", + "valueName": "current", + "prefixFontSize": "50%", + "valueFontSize": "80%", + "postfixFontSize": "50%", + "thresholds": "-1.0,0.2,0.8", + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "sparkline": { + "show": false, + "full": false, + "lineColor": "rgb(31, 120, 193)", + "fillColor": "rgba(31, 118, 189, 0.18)" + }, + "height": "100" + }, + { + "title": "identity-service (Keystone)", + "error": false, + "span": 2, + "editable": true, + "type": "singlestat", + "id": 12, + "links": [], + "maxDataPoints": 100, + "interval": null, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "http_status", + "dimensions": [{"key": "service", "value": "identity-service"}] + } + ], + "cacheTimeout": null, + "format": "none", + "prefix": "", + "postfix": "", + "nullText": null, + "valueMaps": [ + { + "value": "0", + "op": "=", + "text": "UP" + }, + { + "value": "1", + "op": "=", + "text": "DOWN" + } + ], + "nullPointMode": "connected", + "valueName": "current", + "prefixFontSize": "50%", + "valueFontSize": "80%", + "postfixFontSize": "50%", + "thresholds": "-1.0,0.2,0.8", + "colorBackground": true, + "colorValue": false, + "colors": [ + "rgba(71, 212, 59, 0.4)", + "rgba(245, 150, 40, 0.73)", + "rgba(225, 40, 40, 0.59)" + ], + "sparkline": { + "show": false, + "full": false, + "lineColor": "rgb(31, 120, 193)", + "fillColor": "rgba(31, 118, 189, 0.18)" + }, + "height": "100" + } + ], + "notice": false, + "showTitle": true + }, + { + "title": "System Resources", + "height": "250px", + "editable": true, + "collapse": false, + "collapsable": true, + "panels": [ + { + "span": 6, + "editable": true, + "type": "graph", + "loadingEditor": false, + "renderer": "flot", + "x-axis": true, + "y-axis": true, + "scale": 1, + "y_formats": [ + "percent", + "none" + ], + "grid": { + "max": null, + "min": null, + "threshold1": null, + "threshold2": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2Color": "rgba(234, 112, 112, 0.22)", + "leftMax": 100, + "rightMax": null, + "leftMin": 0, + "rightMin": null + }, + "annotate": { + "enable": false + }, + "resolution": 100, + "lines": true, + "fill": 0, + "linewidth": 1, + "points": false, + "pointradius": 5, + "bars": false, + "stack": false, + "legend": { + "show": true, + "values": false, + "min": false, + "max": false, + "current": false, + "total": false, + "avg": false, + "alignAsTable": true, + "rightSide": false + }, + "percentage": false, + "zerofill": true, + "nullPointMode": "null", + "steppedLine": false, + "tooltip": { + "value_type": "cumulative", + "query_as_alias": true, + "shared": true + }, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "cpu.percent", + "condition_filter": false, + "alias": "cpu.percent (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "cpu.wait_perc", + "alias": "cpu.wait_perc (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "cpu.system_perc", + "alias": "cpu.system_perc (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "cpu.user_perc", + "alias": "cpu.user_perc (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + } + ], + "aliasColors": {}, + "title": "CPU usage", + "id": 2, + "seriesOverrides": [], + "links": [], + "leftYAxisLabel": "" + }, + { + "title": "Memory usage", + "error": false, + "span": 6, + "editable": true, + "type": "graph", + "id": 13, + "renderer": "flot", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "none", + "none" + ], + "grid": { + "leftMax": null, + "rightMax": null, + "leftMin": 0, + "rightMin": null, + "threshold1": null, + "threshold2": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2Color": "rgba(234, 112, 112, 0.22)", + "thresholdLine": false + }, + "lines": true, + "fill": 0, + "linewidth": 1, + "points": false, + "pointradius": 5, + "bars": false, + "stack": false, + "percentage": false, + "legend": { + "show": true, + "values": false, + "min": false, + "max": false, + "current": false, + "total": false, + "avg": false, + "alignAsTable": true, + "rightSide": false + }, + "nullPointMode": "null", + "steppedLine": false, + "tooltip": { + "value_type": "cumulative", + "shared": true + }, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "mem.total_mb", + "merge": false, + "alias": "mem.total_mb (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "mem.swap_used_mb", + "alias": "mem.swap_used_mb (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "mem.used_mb", + "alias": "mem.used_mb (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "mem.swap_total_mb", + "alias": "mem.swap_total_mb (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "mem.used_cache", + "alias": "mem.used_cache (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + } + ], + "aliasColors": {}, + "seriesOverrides": [], + "links": [], + "leftYAxisLabel": "MB" + }, + { + "title": "Disk usage", + "error": false, + "span": 6, + "editable": true, + "type": "graph", + "id": 14, + "renderer": "flot", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "percent", + "short" + ], + "grid": { + "leftMax": 100, + "rightMax": null, + "leftMin": 0, + "rightMin": null, + "threshold1": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "lines": true, + "fill": 0, + "linewidth": 1, + "points": false, + "pointradius": 5, + "bars": false, + "stack": false, + "percentage": false, + "legend": { + "show": true, + "values": false, + "min": false, + "max": false, + "current": false, + "total": false, + "avg": false, + "alignAsTable": true, + "rightSide": false, + "sortDesc": null, + "sort": null + }, + "nullPointMode": "null", + "steppedLine": false, + "tooltip": { + "value_type": "cumulative", + "shared": true + }, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "disk.space_used_perc", + "merge": false, + "dimensions": [ + { + "key": "hostname", + "value": "$all" + }, + { + "key": "device", + "value": "rootfs" + } + ], + "alias": "disk.space_used_perc (@hostname @device)" + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "disk.space_used_perc", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + }, + { + "key": "mount_point", + "value": "/boot" + } + ], + "alias": "disk.space_used_perc (@hostname @mount_point)" + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "disk.space_used_perc", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + }, + { + "key": "mount_point", + "value": "/srv/node/swiftloopback" + } + ], + "alias": "disk.space_used_perc (@hostname @mount_point)" + } + ], + "aliasColors": {}, + "seriesOverrides": [], + "links": [] + }, + { + "title": "System load", + "error": false, + "span": 6, + "editable": true, + "type": "graph", + "id": 15, + "renderer": "flot", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "none", + "short" + ], + "grid": { + "leftMax": null, + "rightMax": null, + "leftMin": 0, + "rightMin": null, + "threshold1": null, + "threshold2": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "lines": true, + "fill": 0, + "linewidth": 1, + "points": false, + "pointradius": 5, + "bars": false, + "stack": false, + "percentage": false, + "legend": { + "show": true, + "values": false, + "min": false, + "max": false, + "current": false, + "total": false, + "avg": false, + "alignAsTable": true + }, + "nullPointMode": "null", + "steppedLine": false, + "tooltip": { + "value_type": "cumulative", + "shared": true + }, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "load.avg_1_min", + "alias": "load.avg_1_min (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "load.avg_5_min", + "alias": "load.avg_5_min (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "metric": "load.avg_15_min", + "alias": "load.avg_15_min (@hostname)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + } + ] + } + ], + "aliasColors": {}, + "seriesOverrides": [], + "links": [] + } + ], + "notice": false, + "showTitle": true + }, + { + "title": "Network monitoring", + "height": "250px", + "editable": true, + "collapse": false, + "panels": [ + { + "title": "Network usage", + "error": false, + "span": 6, + "editable": true, + "type": "graph", + "id": 16, + "renderer": "flot", + "x-axis": true, + "y-axis": true, + "y_formats": [ + "bps", + "short" + ], + "grid": { + "leftMax": null, + "rightMax": null, + "leftMin": 0, + "rightMin": null, + "threshold1": null, + "threshold2": null, + "threshold1Color": "rgba(216, 200, 27, 0.27)", + "threshold2Color": "rgba(234, 112, 112, 0.22)" + }, + "lines": true, + "fill": 0, + "linewidth": 1, + "points": false, + "pointradius": 5, + "bars": false, + "stack": false, + "percentage": false, + "legend": { + "show": true, + "values": false, + "min": false, + "max": false, + "current": false, + "total": false, + "avg": false, + "alignAsTable": true + }, + "nullPointMode": "connected", + "steppedLine": false, + "tooltip": { + "value_type": "cumulative", + "shared": true + }, + "targets": [ + { + "aggregator": "none", + "column": "value", + "metric": "net.in_bytes_sec", + "merge": true, + "alias": "net.in_bytes_sec (@hostname @device)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + }, + { + "key": "device", + "value": "$all" + } + ] + }, + { + "target": "", + "aggregator": "none", + "column": "value", + "merge": true, + "metric": "net.out_bytes_sec", + "alias": "net.out_bytes_sec (@hostname @device)", + "dimensions": [ + { + "key": "hostname", + "value": "$all" + }, + { + "key": "device", + "value": "$all" + } + ] + } + ], + "aliasColors": {}, + "seriesOverrides": [], + "links": [] + } + ], + "showTitle": true + } + ], + "nav": [ + { + "type": "timepicker", + "collapse": false, + "notice": false, + "enable": true, + "status": "Stable", + "time_options": [ + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ], + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "now": true + } + ], + "time": { + "from": "now-1h", + "to": "now" + }, + "templating": { + "list": [], + "enable": false + }, + "annotations": { + "enable": false, + "list": [] + }, + "refresh": "30s", + "version": 6, + "hideAllLegends": false +}