From 7569a7a0644a0a69bec7975b0a7386a504c45375 Mon Sep 17 00:00:00 2001 From: rexlee8776 Date: Fri, 1 Sep 2017 07:25:42 +0000 Subject: update yardstick ha test cases dashboard Change-Id: I169e3dc7eb94efa7fe27fc4e82444f53452ccaba Signed-off-by: rexlee8776 --- dashboard/opnfv_yardstick_tc045.json | 160 ++++++++++++++++++++++++++++------- 1 file changed, 129 insertions(+), 31 deletions(-) (limited to 'dashboard/opnfv_yardstick_tc045.json') diff --git a/dashboard/opnfv_yardstick_tc045.json b/dashboard/opnfv_yardstick_tc045.json index 1a0a946a1..8f00851d7 100644 --- a/dashboard/opnfv_yardstick_tc045.json +++ b/dashboard/opnfv_yardstick_tc045.json @@ -44,7 +44,7 @@ "hideControls": false, "id": null, "links": [], - "refresh": false, + "refresh": "1m", "rows": [ { "collapse": false, @@ -55,7 +55,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": "yardstick", + "datasource": "${DS_YARDSTICK}", "description": "", "fill": 1, "id": 1, @@ -78,12 +78,12 @@ "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, - "span": 6, + "span": 5, "stack": false, "steppedLine": false, "targets": [ { - "alias": "Pass/Fail", + "alias": "", "dsType": "influxdb", "groupBy": [], "measurement": "opnfv_yardstick_tc045", @@ -97,7 +97,7 @@ [ { "params": [ - "sla_pass" + "openstack-router-list_outage_time" ], "type": "field" } @@ -112,12 +112,19 @@ "fill": true, "line": true, "op": "gt", - "value": 1000 + "value": 5 + }, + { + "colorMode": "ok", + "fill": true, + "line": true, + "op": "lt", + "value": 5 } ], "timeFrom": null, "timeShift": null, - "title": "Openstack Control Node Service High Availability - nova-api", + "title": "command monitor (outage time)", "tooltip": { "shared": true, "sort": 0, @@ -132,8 +139,115 @@ "values": [] }, "yaxes": [ + { + "format": "s", + "label": "", + "logBase": 1, + "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": "${DS_YARDSTICK}", + "description": "", + "fill": 1, + "id": 3, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": true, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 5, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "", + "dsType": "influxdb", + "groupBy": [], + "measurement": "opnfv_yardstick_tc045", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"packets_received\" * 100, \"packets_sent\", \"packetsize\" FROM \"opnfv_yardstick_tc001\" WHERE $timeFilter GROUP BY fill(null)", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "process_neutron-server_outage_time" + ], + "type": "field" + } + ] + ], + "tags": [] + } + ], + "thresholds": [ + { + "colorMode": "critical", + "fill": true, + "line": true, + "op": "gt", + "value": 20 + }, + { + "colorMode": "ok", + "fill": true, + "line": true, + "op": "lt", + "value": 20 + } + ], + "timeFrom": null, + "timeShift": null, + "title": "process monitor (outage time)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", "label": "", "logBase": 1, "max": null, @@ -152,14 +266,14 @@ }, { "cacheTimeout": null, - "colorBackground": false, + "colorBackground": true, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], - "datasource": "yardstick", + "datasource": "${DS_YARDSTICK}", "format": "none", "gauge": { "maxValue": 100, @@ -168,7 +282,7 @@ "thresholdLabels": false, "thresholdMarkers": true }, - "id": 2, + "id": 4, "interval": null, "links": [], "mappingType": 1, @@ -196,7 +310,7 @@ "to": "null" } ], - "span": 6, + "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, @@ -206,21 +320,9 @@ "tableColumn": "", "targets": [ { + "alias": "", "dsType": "influxdb", - "groupBy": [ - { - "params": [ - "$__interval" - ], - "type": "time" - }, - { - "params": [ - "null" - ], - "type": "fill" - } - ], + "groupBy": [], "measurement": "opnfv_yardstick_tc045", "orderByTime": "ASC", "policy": "default", @@ -233,18 +335,14 @@ "sla_pass" ], "type": "field" - }, - { - "params": [], - "type": "mean" } ] ], "tags": [] } ], - "thresholds": "", - "title": "Panel Title", + "thresholds": "0.5,1", + "title": "SLA PASS/FAIL", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ -- cgit 1.2.3-korg