{ "__inputs": [ { "name": "DS_YARDSTICK", "label": "yardstick", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "4.4.3" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" } ], "annotations": { "list": [ { "datasource": "${DS_YARDSTICK}", "enable": true, "hide": false, "iconColor": "rgb(248, 255, 0)", "limit": 100, "name": "status", "query": "SELECT tg__0.collect_stats.Status FROM $test_name 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": null, "links": [], "refresh": false, "rows": [ { "collapse": false, "height": 200, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_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": "${DS_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": "/^$test_name$/", "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": "${DS_YARDSTICK}", "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": "${DS_YARDSTICK}", "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": {}, "datasource": "${DS_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": {}, "datasource": "${DS_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": { "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": 15 }