From dc72c970aeda59c2c3fb0b51d4629dcb18465049 Mon Sep 17 00:00:00 2001 From: Myron Sosyak Date: Mon, 11 Mar 2019 12:46:16 +0000 Subject: Add Grafana dashboards for RFC2544 Added two dashboards for RFC2544 and for RFC2544 multiframesize YARDSTICK-1592 Change-Id: Ib474c3cd12e2771666f838ca58b0c2c2e46a17cb Signed-off-by: Myron Sosyak --- dashboard/RFC2544_2Port.json | 609 +++++++++++++++++++ dashboard/RFC2544_2Port_Multiframesize.json | 885 ++++++++++++++++++++++++++++ 2 files changed, 1494 insertions(+) create mode 100644 dashboard/RFC2544_2Port.json create mode 100644 dashboard/RFC2544_2Port_Multiframesize.json diff --git a/dashboard/RFC2544_2Port.json b/dashboard/RFC2544_2Port.json new file mode 100644 index 000000000..e6f3265f9 --- /dev/null +++ b/dashboard/RFC2544_2Port.json @@ -0,0 +1,609 @@ +{ + "annotations": { + "list": [ + { + "datasource": "yardstick", + "enable": true, + "hide": false, + "iconColor": "rgb(248, 255, 0)", + "limit": 100, + "name": "status", + "query": "SELECT tg__0.collect_stats.Status FROM \"tc_heat_rfc2544_ipv4_1rule_1flow_trex\" WHERE \"tg__0.collect_stats.Status\"='Success' AND task_id='$task_id'", + "showIn": 0, + "titleColumn": "Status", + "type": "alert" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": 6, + "links": [], + "refresh": false, + "rows": [ + { + "collapse": false, + "height": 200, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "yardstick", + "fill": 0, + "hideTimeOverride": true, + "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": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"tg__0.collect_stats.xe0.InBytes\", \"tg__0.collect_stats.xe0.OutBytes\", \"tg__0.collect_stats.xe1.InBytes\", \"tg__0.collect_stats.xe1.OutBytes\" FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" =~ /^$framesize$/ AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.xe0.InBytes" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.xe0.OutBytes" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.xe1.InBytes" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.xe1.OutBytes" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Traffic bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + }, + { + "collapse": false, + "height": 303, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "yardstick", + "fill": 1, + "id": 1, + "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": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "tc_heat_rfc2544_ipv4_1rule_1flow_trex", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.Rate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": "", + "logBase": 1, + "max": "100", + "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": null, + "fill": 1, + "id": 5, + "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": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"vnf__0.collect_stats.core.memory.memory-free\", \"vnf__0.collect_stats.core.memory.memory-slab_recl\" FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "vnf__0.collect_stats.core.memory.memory-free" + ], + "type": "field" + } + ], + [ + { + "params": [ + "vnf__0.collect_stats.core.memory.memory-slab_recl" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memmory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "decbytes", + "label": null, + "logBase": 1, + "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": 255, + "panels": [ + { + "columns": [], + "fontSize": "100%", + "id": 6, + "links": [], + "pageSize": null, + "scroll": true, + "showHeader": true, + "sort": { + "col": 0, + "desc": true + }, + "span": 12, + "styles": [ + { + "alias": "Time", + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "pattern": "Time", + "type": "date" + }, + { + "alias": "Throughput", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "dateFormat": "YYYY-MM-DD HH:mm:ss", + "decimals": 2, + "pattern": "max", + "thresholds": [], + "type": "number", + "unit": "short" + }, + { + "alias": "", + "colorMode": null, + "colors": [ + "rgba(245, 54, 54, 0.9)", + "rgba(237, 129, 40, 0.89)", + "rgba(50, 172, 45, 0.97)" + ], + "decimals": 2, + "pattern": "/.*/", + "thresholds": [], + "type": "number", + "unit": "short" + } + ], + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"tg__0.collect_stats.RxThroughputBps\"), \"tg__0.collect_stats.DropPercentage\", \"tg__0.collect_stats.Iteration\", \"tg__0.collect_stats.PktSize\", \"tg__0.collect_stats.Rate\" FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.Status\" = 'Success' AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "table", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughputBps" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.DropPercentage" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.Iteration" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.PktSize" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.Rate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.Status", + "operator": "=", + "value": "Success" + } + ] + } + ], + "title": "Throughput Best result", + "transform": "table", + "type": "table" + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": null, + "current": { + "text": "tc_heat_rfc2544_ipv4_1rule_1flow_trex", + "value": "tc_heat_rfc2544_ipv4_1rule_1flow_trex" + }, + "datasource": "yardstick", + "hide": 0, + "includeAll": false, + "label": "test_name", + "multi": false, + "name": "test_name", + "options": [], + "query": "SHOW MEASUREMENTS", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "004b5387-74b3-4cf0-9597-5198db9e2731", + "value": "004b5387-74b3-4cf0-9597-5198db9e2731" + }, + "datasource": "yardstick", + "hide": 0, + "includeAll": false, + "label": "task_id", + "multi": false, + "name": "task_id", + "options": [], + "query": "SHOW TAG VALUES FROM $test_name WITH KEY = \"task_id\" ", + "refresh": 2, + "regex": "", + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "2019-03-05T12:44:02.829Z", + "to": "2019-03-05T13:32:27.585Z" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "RFC2544", + "version": 2 +} diff --git a/dashboard/RFC2544_2Port_Multiframesize.json b/dashboard/RFC2544_2Port_Multiframesize.json new file mode 100644 index 000000000..f08cf3d47 --- /dev/null +++ b/dashboard/RFC2544_2Port_Multiframesize.json @@ -0,0 +1,885 @@ +{ + "annotations": { + "list": [ + { + "datasource": "yardstick", + "enable": true, + "hide": false, + "iconColor": "rgb(248, 255, 0)", + "limit": 100, + "name": "status", + "query": "SELECT tg__0.collect_stats.Status FROM \"tc_heat_rfc2544_ipv4_1rule_1flow_trex\" WHERE \"tg__0.collect_stats.Status\"='Success' AND task_id='$task_id'", + "showIn": 0, + "titleColumn": "Status", + "type": "alert" + } + ] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "hideControls": false, + "id": 2, + "links": [], + "refresh": false, + "rows": [ + { + "collapse": false, + "height": 200, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "yardstick", + "fill": 0, + "hideTimeOverride": true, + "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": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"tg__0.collect_stats.xe0.InBytes\", \"tg__0.collect_stats.xe0.OutBytes\", \"tg__0.collect_stats.xe1.InBytes\", \"tg__0.collect_stats.xe1.OutBytes\" FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" =~ /^$framesize$/ AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.xe0.InBytes" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.xe0.OutBytes" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.xe1.InBytes" + ], + "type": "field" + } + ], + [ + { + "params": [ + "tg__0.collect_stats.xe1.OutBytes" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=~", + "value": "/^$framesize$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Traffic bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + }, + { + "collapse": false, + "height": 303, + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "yardstick", + "fill": 1, + "id": 1, + "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": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "tc_heat_rfc2544_ipv4_1rule_1flow_trex", + "orderByTime": "ASC", + "policy": "default", + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.Rate" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=~", + "value": "/^$framesize$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "label": "", + "logBase": 1, + "max": "100", + "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": null, + "fill": 1, + "id": 5, + "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": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "$col", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"vnf__0.collect_stats.core.memory.memory-free\", \"vnf__0.collect_stats.core.memory.memory-slab_recl\" FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND $timeFilter", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "vnf__0.collect_stats.core.memory.memory-free" + ], + "type": "field" + } + ], + [ + { + "params": [ + "vnf__0.collect_stats.core.memory.memory-slab_recl" + ], + "type": "field" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=~", + "value": "/^$framesize$/" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Memmory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "decbytes", + "label": null, + "logBase": 1, + "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": 255, + "panels": [ + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": null, + "fill": 1, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "span": 12, + "stack": false, + "steppedLine": false, + "targets": [ + { + "alias": "64B", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT \"tg__0.collect_stats.RxThroughput\" FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" =~ /^$framesize$/ AND $timeFilter ", + "rawQuery": false, + "refId": "A", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughput" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=", + "value": "64B" + } + ] + }, + { + "alias": "128B", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"tg__0.collect_stats.RxThroughput\") FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" = '128B' AND $timeFilter", + "rawQuery": false, + "refId": "B", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughput" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=", + "value": "128B" + } + ] + }, + { + "alias": "373B", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"tg__0.collect_stats.RxThroughput\") FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" = '128B' AND $timeFilter", + "rawQuery": false, + "refId": "C", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughput" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=", + "value": "373B" + } + ] + }, + { + "alias": "512B", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"tg__0.collect_stats.RxThroughput\") FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" = '128B' AND $timeFilter", + "rawQuery": false, + "refId": "D", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughput" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=", + "value": "512B" + } + ] + }, + { + "alias": "570B", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"tg__0.collect_stats.RxThroughput\") FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" = '128B' AND $timeFilter", + "rawQuery": false, + "refId": "E", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughput" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=", + "value": "570B" + } + ] + }, + { + "alias": "1400B", + "dsType": "influxdb", + "groupBy": [], + "measurement": "/^$test_name$/", + "orderByTime": "ASC", + "policy": "default", + "query": "SELECT max(\"tg__0.collect_stats.RxThroughput\") FROM /^$test_name$/ WHERE \"task_id\" =~ /^$task_id$/ AND \"tg__0.collect_stats.PktSize\" = '128B' AND $timeFilter", + "rawQuery": false, + "refId": "F", + "resultFormat": "time_series", + "select": [ + [ + { + "params": [ + "tg__0.collect_stats.RxThroughput" + ], + "type": "field" + }, + { + "params": [], + "type": "max" + } + ] + ], + "tags": [ + { + "key": "task_id", + "operator": "=~", + "value": "/^$task_id$/" + }, + { + "condition": "AND", + "key": "tg__0.collect_stats.PktSize", + "operator": "=", + "value": "1400B" + } + ] + } + ], + "thresholds": [], + "timeFrom": null, + "timeShift": null, + "title": "Throughput", + "tooltip": { + "shared": false, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "series", + "name": null, + "show": true, + "values": [ + "max" + ] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ] + } + ], + "repeat": null, + "repeatIteration": null, + "repeatRowId": null, + "showTitle": false, + "title": "Dashboard Row", + "titleSize": "h6" + } + ], + "schemaVersion": 14, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "allValue": null, + "current": { + "text": "tc_heat_rfc2544_ipv4_1rule_1flow_trex", + "value": "tc_heat_rfc2544_ipv4_1rule_1flow_trex" + }, + "datasource": "yardstick", + "hide": 0, + "includeAll": false, + "label": "test_name", + "multi": false, + "name": "test_name", + "options": [], + "query": "SHOW MEASUREMENTS", + "refresh": 2, + "regex": "", + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "fdb337ec-11ea-410f-b45e-83f30edb7590", + "value": "fdb337ec-11ea-410f-b45e-83f30edb7590" + }, + "datasource": "yardstick", + "hide": 0, + "includeAll": false, + "label": "task_id", + "multi": false, + "name": "task_id", + "options": [], + "query": "SHOW TAG VALUES FROM $test_name WITH KEY = \"task_id\" ", + "refresh": 2, + "regex": "", + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "tags": [], + "text": "64B + 128B + 512B", + "value": [ + "64B", + "128B", + "512B" + ] + }, + "hide": 0, + "includeAll": true, + "label": "framesize", + "multi": true, + "name": "framesize", + "options": [ + { + "selected": false, + "text": "All", + "value": "$__all" + }, + { + "selected": true, + "text": "64B", + "value": "64B" + }, + { + "selected": true, + "text": "128B", + "value": "128B" + }, + { + "selected": false, + "text": "256B", + "value": "256B" + }, + { + "selected": false, + "text": "373B", + "value": "373B" + }, + { + "selected": true, + "text": "512B", + "value": "512B" + }, + { + "selected": false, + "text": "570B", + "value": "570B" + }, + { + "selected": false, + "text": "1024B", + "value": "1024B" + }, + { + "selected": false, + "text": "1280B", + "value": "1280B" + }, + { + "selected": false, + "text": "1400B", + "value": "1400B" + }, + { + "selected": false, + "text": "1500B", + "value": "1500B" + }, + { + "selected": false, + "text": "1518B", + "value": "1518B" + } + ], + "query": "64B ,128B ,256B ,373B ,512B ,570B ,1024B ,1280B ,1400B ,1500B ,1518B", + "type": "custom" + } + ] + }, + "time": { + "from": "2019-03-05T03:45:05.672Z", + "to": "2019-03-05T18:24:01.947Z" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ], + "time_options": [ + "5m", + "15m", + "1h", + "6h", + "12h", + "24h", + "2d", + "7d", + "30d" + ] + }, + "timezone": "", + "title": "RFC2544 Multi framesize", + "version": 14 +} -- cgit 1.2.3-korg