Created
September 20, 2021 09:25
-
-
Save nio101/08ed091ea154a7dcb664c218a41cd25f to your computer and use it in GitHub Desktop.
k6 generic advanced dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "#5794F2", | |
"limit": 100, | |
"name": "k6", | |
"showIn": 0, | |
"tags": [ | |
"k6" | |
], | |
"type": "tags" | |
}, | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"limit": 100, | |
"name": "Annotations & Alerts", | |
"showIn": 0, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "A dashboard for visualizing results from the k6.io load testing tool, using the InfluxDB exporter", | |
"editable": true, | |
"gnetId": 2587, | |
"graphTooltip": 2, | |
"id": null, | |
"iteration": 1622106784112, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": "InfluxDB-gitsync", | |
"description": "[no_export]", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"custom": { | |
"align": null, | |
"filterable": false | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"id": 2274, | |
"options": { | |
"showHeader": true | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"commitId\" FROM \"git\" ORDER BY time DESC LIMIT 1", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "k6 scripts - last git synch", | |
"type": "table" | |
}, | |
{ | |
"aliasColors": { | |
"#updates": "purple" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-gitsync", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 3, | |
"w": 6, | |
"x": 6, | |
"y": 0 | |
}, | |
"hiddenSeries": false, | |
"id": 3210, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 10, | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": false | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:906", | |
"alias": "#updates", | |
"fillGradient": 5 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "#updates", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
} | |
], | |
"measurement": "git", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"commitId" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "k6 scripts - git updates/pull", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:347", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": "1", | |
"min": "0.5", | |
"show": false | |
}, | |
{ | |
"$$hashKey": "object:348", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": true, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 3 | |
}, | |
"id": 3117, | |
"panels": [ | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"noValue": "-", | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 3145, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"sum" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "value_and_name" | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "#total requests", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"min": 0, | |
"noValue": "-", | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 0 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 6, | |
"y": 4 | |
}, | |
"id": 3088, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"sum" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "value_and_name" | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "expected_response", | |
"operator": "=", | |
"value": "false" | |
} | |
] | |
} | |
], | |
"title": "#failed requests", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"min": 0, | |
"noValue": "-", | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 0 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 12, | |
"y": 4 | |
}, | |
"id": 3173, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"sum" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "value_and_name" | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_check]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"autogen\".\"checks\" WHERE $timeFilter AND \"value\" = 0 GROUP BY \"check\", time(1s) fill(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "expected_response", | |
"operator": "=", | |
"value": "false" | |
} | |
] | |
} | |
], | |
"title": "#failed checks", | |
"type": "stat" | |
}, | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 18, | |
"y": 4 | |
}, | |
"id": 3548, | |
"options": { | |
"displayLabels": [], | |
"legend": { | |
"displayMode": "table", | |
"placement": "bottom", | |
"values": [ | |
"value" | |
] | |
}, | |
"pieType": "pie", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {} | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_scenario]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"queryType": "randomWalk", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "requests segmentation / scenario", | |
"type": "piechart" | |
}, | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 3550, | |
"options": { | |
"displayLabels": [], | |
"legend": { | |
"displayMode": "list", | |
"placement": "bottom", | |
"values": [] | |
}, | |
"pieType": "pie", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {} | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"queryType": "randomWalk", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "#total requests", | |
"type": "piechart" | |
}, | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 6, | |
"y": 11 | |
}, | |
"id": 3587, | |
"options": { | |
"displayLabels": [], | |
"legend": { | |
"displayMode": "list", | |
"placement": "bottom", | |
"values": [] | |
}, | |
"pieType": "pie", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {} | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"queryType": "randomWalk", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "expected_response", | |
"operator": "=", | |
"value": "false" | |
} | |
] | |
} | |
], | |
"title": "#failed requests", | |
"type": "piechart" | |
}, | |
{ | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
} | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 12, | |
"y": 11 | |
}, | |
"id": 3588, | |
"options": { | |
"displayLabels": [], | |
"legend": { | |
"displayMode": "list", | |
"placement": "bottom", | |
"values": [] | |
}, | |
"pieType": "pie", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {} | |
}, | |
"pluginVersion": "7.5.4", | |
"targets": [ | |
{ | |
"alias": "[[tag_check]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"name" | |
], | |
"type": "tag" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"autogen\".\"checks\" WHERE $timeFilter AND \"value\" = 0 GROUP BY \"check\"", | |
"queryType": "randomWalk", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "expected_response", | |
"operator": "=", | |
"value": "false" | |
} | |
] | |
} | |
], | |
"title": "#failed checks", | |
"type": "piechart" | |
} | |
], | |
"title": "global stats", | |
"type": "row" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 2826, | |
"panels": [], | |
"title": "k6 logs", | |
"type": "row" | |
}, | |
{ | |
"datasource": "Loki-k6", | |
"description": "[no_export]", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 5 | |
}, | |
"id": 2861, | |
"options": { | |
"dedupStrategy": "none", | |
"showLabels": true, | |
"showTime": true, | |
"sortOrder": "Descending", | |
"wrapLogMessage": true | |
}, | |
"pluginVersion": "7.3.4", | |
"targets": [ | |
{ | |
"expr": "{from=\"k6\"}", | |
"instant": false, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "k6 logs", | |
"type": "logs" | |
}, | |
{ | |
"aliasColors": { | |
"error": "red", | |
"info": "green", | |
"warning": "yellow" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Loki-k6", | |
"description": "[no_export]", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 5 | |
}, | |
"hiddenSeries": false, | |
"id": 2898, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": false | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 2, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:141", | |
"alias": "info", | |
"fill": 4 | |
}, | |
{ | |
"$$hashKey": "object:221", | |
"alias": "warning", | |
"fill": 8 | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"expr": "sum(rate({level=~\"warning\"}[1s]))", | |
"hide": false, | |
"legendFormat": "warning", | |
"refId": "B" | |
}, | |
{ | |
"expr": "sum(rate({level=~\"error\"}[1s]))", | |
"hide": false, | |
"legendFormat": "error", | |
"refId": "A" | |
}, | |
{ | |
"expr": "sum(rate({level=~\"info\"}[1s]))", | |
"hide": false, | |
"legendFormat": "info", | |
"refId": "C" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "k6 logs", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:72", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:73", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 13 | |
}, | |
"id": 3286, | |
"panels": [], | |
"repeat": "container", | |
"scopedVars": { | |
"container": { | |
"selected": true, | |
"text": "yaam-demo", | |
"value": "yaam-demo" | |
} | |
}, | |
"title": "OpenShift metrics for $container", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"80% (cpu request)": "super-light-orange", | |
"backend-15-rz7vp - POD": "#7eb26d", | |
"cpu limit": "red", | |
"cpu request": "orange", | |
"k6-1-sj5hh cpu thottled": "purple", | |
"k6-2-hvgdj cpu thottled": "purple", | |
"oma-omauthbackstandalone-bench-za-4-6znk9 cpu thottled": "purple", | |
"oma-omauthbackstandalone-bench-za-4-fgk4n cpu thottled": "super-light-purple", | |
"yaam-demo-1-7zxwg cpu avg": "purple", | |
"yaam-demo-1-jdzs2 cpu avg": "blue" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus-dbms", | |
"description": "", | |
"editable": true, | |
"error": false, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fill": 5, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 14 | |
}, | |
"hiddenSeries": false, | |
"id": 3310, | |
"interval": "", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeat": null, | |
"repeatDirection": "h", | |
"scopedVars": { | |
"container": { | |
"selected": true, | |
"text": "yaam-demo", | |
"value": "yaam-demo" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:370", | |
"alias": "backend-15-rz7vp - POD", | |
"yaxis": 1 | |
}, | |
{ | |
"$$hashKey": "object:371", | |
"alias": "cpu limit", | |
"fill": 0, | |
"linewidth": 2 | |
}, | |
{ | |
"$$hashKey": "object:372", | |
"alias": "cpu request", | |
"fill": 0, | |
"linewidth": 2 | |
}, | |
{ | |
"$$hashKey": "object:373", | |
"alias": "80% (cpu request)", | |
"fill": 0, | |
"linewidth": 2 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "1000*sum(irate(container_cpu_cfs_throttled_seconds_total{pod=~\"$pod\",container=~\"$container\"}[$__rate_interval])) by (pod, container)", | |
"format": "time_series", | |
"hide": true, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{pod}} cpu thottled", | |
"metric": "", | |
"refId": "E", | |
"step": 30 | |
}, | |
{ | |
"exemplar": true, | |
"expr": "sum(irate(container_cpu_usage_seconds_total{pod=~\"$pod\",container=~\"$container\"}[$__rate_interval])) by (pod, container) *1000", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{pod}} cpu avg", | |
"metric": "", | |
"refId": "A", | |
"step": 30 | |
}, | |
{ | |
"exemplar": true, | |
"expr": "1000* sum(kube_pod_container_resource_limits_cpu_cores{job=\"kube-state-metrics\",container=\"$container\"}) by (container) /count(kube_pod_container_resource_limits_cpu_cores{job=\"kube-state-metrics\",container=\"$container\"}) by (container)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "cpu limit", | |
"refId": "B" | |
}, | |
{ | |
"exemplar": true, | |
"expr": "1000* sum(kube_pod_container_resource_requests_cpu_cores{job=\"kube-state-metrics\",container=\"$container\"}) by (container) /count(kube_pod_container_resource_limits_cpu_cores{job=\"kube-state-metrics\",container=\"$container\"}) by (container)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "cpu request", | |
"refId": "C" | |
}, | |
{ | |
"exemplar": true, | |
"expr": "800* sum(kube_pod_container_resource_requests_cpu_cores{job=\"kube-state-metrics\",container=\"$container\"}) by (container) /count(kube_pod_container_resource_limits_cpu_cores{job=\"kube-state-metrics\",container=\"$container\"}) by (container)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "80% (cpu request)", | |
"refId": "D" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "CPU for each pod", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:410", | |
"decimals": null, | |
"format": "short", | |
"label": "mCore", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:411", | |
"format": "short", | |
"label": "mCore", | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": true, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"memory limit": "red", | |
"memory request": "orange", | |
"oma-omauthbackstandalone-bench-za-4-6znk9": "light-blue" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "Prometheus-dbms", | |
"editable": true, | |
"error": false, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fill": 3, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 14 | |
}, | |
"hiddenSeries": false, | |
"id": 3334, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"container": { | |
"selected": true, | |
"text": "yaam-demo", | |
"value": "yaam-demo" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:179", | |
"alias": "memory limit", | |
"fill": 0 | |
}, | |
{ | |
"$$hashKey": "object:180", | |
"alias": "memory request", | |
"fill": 0 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "sum(container_memory_working_set_bytes{pod=~\"$pod\",container=~\"$container\"}) by (pod, container)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "{{pod}}", | |
"refId": "C", | |
"step": 40 | |
}, | |
{ | |
"exemplar": true, | |
"expr": "sum(kube_pod_container_resource_limits_memory_bytes{job=\"kube-state-metrics\",container=~\"$container\"}) by (container) / count(kube_pod_container_resource_limits_memory_bytes{job=\"kube-state-metrics\",container=~\"$container\"}) by (container)", | |
"hide": false, | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "memory limit", | |
"refId": "A" | |
}, | |
{ | |
"exemplar": true, | |
"expr": "sum(kube_pod_container_resource_requests_memory_bytes{job=\"kube-state-metrics\",container=\"$container\"}) by (container) / count(kube_pod_container_resource_requests_memory_bytes{job=\"kube-state-metrics\",container=\"$container\"}) by (container)", | |
"interval": "", | |
"intervalFactor": 2, | |
"legendFormat": "memory request", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "Memory", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:193", | |
"format": "bytes", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:194", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 22 | |
}, | |
"id": 18, | |
"panels": [], | |
"repeat": null, | |
"title": "global k6 injection metrics", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC": "green", | |
"UC (AVG 30s)": "yellow", | |
"UC1": "blue", | |
"UC2": "purple", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "segmentation by scenario", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 5, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 23 | |
}, | |
"hiddenSeries": false, | |
"id": 1861, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": false | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:601", | |
"alias": "/(AVG 30s)/", | |
"fill": 0, | |
"linewidth": 3, | |
"steppedLine": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "[[tag_scenario]] (AVG 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"30s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "iterations", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"http_req_duration\" WHERE (\"group\"='::UC_account_status') AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": false, | |
"refId": "F", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
}, | |
{ | |
"params": [ | |
" / 30" | |
], | |
"type": "math" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_scenario]]", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "iterations", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"http_req_duration\" WHERE (\"group\"='::UC_account_status') AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "iterations/s", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:880", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:881", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC": "green", | |
"UC (AVG 30s)": "yellow", | |
"UC1": "blue", | |
"UC2": "purple", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "segmentation by scenario", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 5, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 23 | |
}, | |
"hiddenSeries": false, | |
"id": 2900, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:986", | |
"alias": "/(AVG 30s)/", | |
"fill": 0, | |
"linewidth": 3, | |
"steppedLine": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "[[tag_scenario]] (AVG 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"30s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
} | |
], | |
"hide": false, | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"http_req_duration\" WHERE (\"group\"='::UC_account_status') AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": false, | |
"refId": "F", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
}, | |
{ | |
"params": [ | |
"/30" | |
], | |
"type": "math" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_scenario]]", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"http_req_duration\" WHERE (\"group\"='::UC_account_status') AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "total RPS", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "reqps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"Active VUs": "purple", | |
"Total requests/s": "light-blue", | |
"dropped iterations - UC1": "orange", | |
"dropped iterations - UC2": "red" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 4, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 30 | |
}, | |
"hiddenSeries": false, | |
"id": 1, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:130", | |
"alias": "Total requests/s", | |
"yaxis": 1 | |
}, | |
{ | |
"$$hashKey": "object:131", | |
"alias": "/dropped iterations/", | |
"fill": 2, | |
"yaxis": 2 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "total #VUs", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "vus", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "dropped iterations - [[tag_scenario]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "dropped_iterations", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "count" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "total #VU & dropped iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:146", | |
"format": "short", | |
"label": "#VU", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:147", | |
"format": "cps", | |
"label": "", | |
"logBase": 1, | |
"max": null, | |
"min": "0", | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "yellow", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - get_contact_details": "red", | |
"HTTP status:500 - list_contacts": "yellow", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 30 | |
}, | |
"hiddenSeries": false, | |
"id": 2902, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]] - [[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY \"name\", time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC1 data sent": "blue", | |
"UC2 data sent": "purple", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 6, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 0, | |
"y": 37 | |
}, | |
"hiddenSeries": false, | |
"id": 2464, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:200", | |
"alias": "data sent", | |
"bars": false, | |
"hiddenSeries": true, | |
"lines": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "[[tag_scenario]] data sent", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "data_sent", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM \"http_req_duration\" WHERE (\"group\"='::UC_thirdParty_validation') AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "data sent", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:387", | |
"format": "binBps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:388", | |
"format": "binBps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC1 data received": "blue", | |
"UC2 data received": "purple", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 6, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 6, | |
"x": 6, | |
"y": 37 | |
}, | |
"hiddenSeries": false, | |
"id": 2903, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:299", | |
"alias": "data received", | |
"bars": false, | |
"hiddenSeries": true, | |
"lines": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "[[tag_scenario]] data received", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"scenario" | |
], | |
"type": "tag" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "data_received", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM \"http_req_duration\" WHERE (\"group\"='::UC_thirdParty_validation') AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": false, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "data received", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:387", | |
"format": "binBps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:388", | |
"format": "binBps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"status is 200 for add contact": "orange", | |
"status is 200 for first contact detail": "red", | |
"status is 200 for list contact": "yellow", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": true, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 7, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 37 | |
}, | |
"hiddenSeries": false, | |
"id": 2901, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": false, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "[[tag_check]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM \"autogen\".\"checks\" WHERE $timeFilter AND \"value\" = 0 GROUP BY \"check\", time(1s) fill(null)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed checks", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 44 | |
}, | |
"id": 3361, | |
"panels": [], | |
"repeat": "scenario", | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"title": "metrics for scenario $scenario", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"::UC2_subgroup iterations (avg 30s)": "light-green", | |
"error/s": "red", | |
"error/s (AVG 1mn)": "super-light-red", | |
"error_count": "red", | |
"error_count /s": "red", | |
"error_rate": "dark-red", | |
"error_rate (AVG 1mn)": "super-light-red", | |
"non-2xx/s": "red", | |
"other error/s": "red", | |
"rate limiting": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 8, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 45 | |
}, | |
"hiddenSeries": false, | |
"id": 3389, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:5129", | |
"alias": "/avg 30s/", | |
"fill": 0, | |
"linewidth": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "${scenario} iterations", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "${scenario} iterations (avg 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "${scenario} iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:4052", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:4053", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"max": "red", | |
"mean": "blue", | |
"min": "green", | |
"p90": "yellow", | |
"p95": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "Grouped by 1 sec intervals", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 45 | |
}, | |
"height": "250px", | |
"hiddenSeries": false, | |
"id": 3391, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:1957", | |
"alias": "p95", | |
"linewidth": 2, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "mean", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM iteration_duration WHERE $timeFilter AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p95", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM iteration_duration WHERE $timeFilter AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "D", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
95 | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p90", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM iteration_duration WHERE $timeFilter and value > 0 AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"90" | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "min", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM iteration_duration WHERE $timeFilter and value > 0 AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "E", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "max", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM iteration_duration WHERE $timeFilter AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"$$hashKey": "object:2303", | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 25000, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "${scenario} duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1966", | |
"format": "ms", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1967", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "yellow", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - get_contact_details": "red", | |
"HTTP status:500 - list_contacts": "red", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 52 | |
}, | |
"hiddenSeries": false, | |
"id": 3393, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]] - [[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY \"name\", time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests inside ${scenario} ", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(0, 234, 255)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateRdYlGn", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 52 | |
}, | |
"heatmap": {}, | |
"height": "250px", | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 3395, | |
"interval": ">1s", | |
"legend": { | |
"show": false | |
}, | |
"links": [], | |
"reverseYBuckets": false, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"value\" FROM iteration_duration WHERE $timeFilter and value > 0 AND (\"scenario\"='$scenario') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "${scenario} duration", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"tooltipDecimals": null, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "ms", | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 0, | |
"y": 59 | |
}, | |
"height": "50px", | |
"id": 3504, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "min", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 4, | |
"y": 59 | |
}, | |
"height": "50px", | |
"id": 3505, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT median(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "median", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 8, | |
"y": 59 | |
}, | |
"height": "50px", | |
"id": 3506, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "mean", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 12, | |
"y": 59 | |
}, | |
"height": "50px", | |
"id": 3509, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 90%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 16, | |
"y": 59 | |
}, | |
"height": "50px", | |
"id": 3510, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 95%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 20, | |
"y": 59 | |
}, | |
"height": "50px", | |
"id": 3507, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC1", | |
"value": "UC1" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "max", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 61 | |
}, | |
"id": 3589, | |
"panels": [], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3361, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"title": "metrics for scenario $scenario", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"::UC2_subgroup iterations (avg 30s)": "light-green", | |
"error/s": "red", | |
"error/s (AVG 1mn)": "super-light-red", | |
"error_count": "red", | |
"error_count /s": "red", | |
"error_rate": "dark-red", | |
"error_rate (AVG 1mn)": "super-light-red", | |
"non-2xx/s": "red", | |
"other error/s": "red", | |
"rate limiting": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 8, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 62 | |
}, | |
"hiddenSeries": false, | |
"id": 3590, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3389, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:5129", | |
"alias": "/avg 30s/", | |
"fill": 0, | |
"linewidth": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "${scenario} iterations", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "${scenario} iterations (avg 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "${scenario} iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:4052", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:4053", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"max": "red", | |
"mean": "blue", | |
"min": "green", | |
"p90": "yellow", | |
"p95": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "Grouped by 1 sec intervals", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 62 | |
}, | |
"height": "250px", | |
"hiddenSeries": false, | |
"id": 3591, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3391, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:1957", | |
"alias": "p95", | |
"linewidth": 2, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "mean", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM iteration_duration WHERE $timeFilter AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p95", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM iteration_duration WHERE $timeFilter AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "D", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
95 | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p90", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM iteration_duration WHERE $timeFilter and value > 0 AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"90" | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "min", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM iteration_duration WHERE $timeFilter and value > 0 AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "E", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "max", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM iteration_duration WHERE $timeFilter AND (\"scenario\"='$scenario') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"$$hashKey": "object:2303", | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 25000, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "${scenario} duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1966", | |
"format": "ms", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1967", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "yellow", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - get_contact_details": "red", | |
"HTTP status:500 - list_contacts": "red", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 69 | |
}, | |
"hiddenSeries": false, | |
"id": 3592, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3393, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]] - [[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY \"name\", time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests inside ${scenario} ", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(0, 234, 255)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateRdYlGn", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 69 | |
}, | |
"heatmap": {}, | |
"height": "250px", | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 3593, | |
"interval": ">1s", | |
"legend": { | |
"show": false | |
}, | |
"links": [], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3395, | |
"repeatedByRow": true, | |
"reverseYBuckets": false, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"value\" FROM iteration_duration WHERE $timeFilter and value > 0 AND (\"scenario\"='$scenario') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "${scenario} duration", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"tooltipDecimals": null, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "ms", | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 0, | |
"y": 76 | |
}, | |
"height": "50px", | |
"id": 3594, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3504, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "min", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 4, | |
"y": 76 | |
}, | |
"height": "50px", | |
"id": 3595, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3505, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT median(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "median", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 8, | |
"y": 76 | |
}, | |
"height": "50px", | |
"id": 3596, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3506, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "mean", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 12, | |
"y": 76 | |
}, | |
"height": "50px", | |
"id": 3597, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3509, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 90%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 16, | |
"y": 76 | |
}, | |
"height": "50px", | |
"id": 3598, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3510, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 95%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 20, | |
"y": 76 | |
}, | |
"height": "50px", | |
"id": 3599, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3507, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"scenario": { | |
"selected": true, | |
"text": "UC2", | |
"value": "UC2" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM iteration_duration WHERE (\"scenario\" =~ /^$scenario$/) AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "max", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 78 | |
}, | |
"id": 3427, | |
"panels": [], | |
"repeat": "group", | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"title": "metrics for group $group", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"::UC2_subgroup iterations (avg 30s)": "light-green", | |
"error/s": "red", | |
"error/s (AVG 1mn)": "super-light-red", | |
"error_count": "red", | |
"error_count /s": "red", | |
"error_rate": "dark-red", | |
"error_rate (AVG 1mn)": "super-light-red", | |
"non-2xx/s": "red", | |
"other error/s": "red", | |
"rate limiting": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 8, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 79 | |
}, | |
"hiddenSeries": false, | |
"id": 3459, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:5129", | |
"alias": "/avg 30s/", | |
"fill": 0, | |
"linewidth": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "${group} iterations", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM group_duration WHERE (\"group\"='$group') AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "${group} iterations (avg 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM group_duration WHERE (\"group\" =~ /^$group$/) AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "${group} iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:4052", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:4053", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"max": "red", | |
"mean": "blue", | |
"min": "green", | |
"p90": "yellow", | |
"p95": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "Grouped by 1 sec intervals", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 79 | |
}, | |
"height": "250px", | |
"hiddenSeries": false, | |
"id": 3463, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:1957", | |
"alias": "p95", | |
"linewidth": 2, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "mean", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM group_duration WHERE $timeFilter AND (\"group\"='$group') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p95", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM group_duration WHERE $timeFilter AND (\"group\"='$group') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "D", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
95 | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p90", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM group_duration WHERE $timeFilter and value > 0 AND (\"group\"='$group') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"90" | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "min", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM group_duration WHERE $timeFilter and value > 0 AND (\"group\"='$group') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "E", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "max", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM group_duration WHERE $timeFilter AND (\"group\"='$group') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"$$hashKey": "object:2303", | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 25000, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "${group} duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1966", | |
"format": "ms", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1967", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "yellow", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - get_contact_details": "red", | |
"HTTP status:500 - list_contacts": "blue", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 86 | |
}, | |
"hiddenSeries": false, | |
"id": 3461, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]] - [[tag_name]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"group\"='$group') AND $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY \"name\", time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"group\" =~ /^$group$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests inside ${group} ", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(0, 234, 255)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateRdYlGn", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 86 | |
}, | |
"heatmap": {}, | |
"height": "250px", | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 3465, | |
"interval": ">1s", | |
"legend": { | |
"show": false | |
}, | |
"links": [], | |
"reverseYBuckets": false, | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"value\" FROM group_duration WHERE $timeFilter and value > 0 AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "${group} duration", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"tooltipDecimals": null, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "ms", | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 0, | |
"y": 93 | |
}, | |
"height": "50px", | |
"id": 3472, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM group_duration WHERE $timeFilter AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "min", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 4, | |
"y": 93 | |
}, | |
"height": "50px", | |
"id": 3470, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT median(\"value\") FROM group_duration WHERE $timeFilter AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "median", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 8, | |
"y": 93 | |
}, | |
"height": "50px", | |
"id": 3471, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM group_duration WHERE $timeFilter AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "mean", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 12, | |
"y": 93 | |
}, | |
"height": "50px", | |
"id": 3469, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM group_duration WHERE $timeFilter AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 90%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 16, | |
"y": 93 | |
}, | |
"height": "50px", | |
"id": 3467, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM group_duration WHERE $timeFilter AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 95%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 20, | |
"y": 93 | |
}, | |
"height": "50px", | |
"id": 3468, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"group": { | |
"selected": false, | |
"text": "::user_consult_and_add", | |
"value": "::user_consult_and_add" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM group_duration WHERE $timeFilter AND (\"group\"='$group') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "maximum", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 95 | |
}, | |
"id": 2906, | |
"panels": [], | |
"repeat": "request_name", | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"title": "k6 metrics for request: *$request_name*", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"::UC2_subgroup iterations (avg 30s)": "light-green", | |
"error/s": "red", | |
"error/s (AVG 1mn)": "super-light-red", | |
"error_count": "red", | |
"error_count /s": "red", | |
"error_rate": "dark-red", | |
"error_rate (AVG 1mn)": "super-light-red", | |
"non-2xx/s": "red", | |
"other error/s": "red", | |
"rate limiting": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 8, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 96 | |
}, | |
"hiddenSeries": false, | |
"id": 3234, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:5129", | |
"alias": "/avg 30s/", | |
"fill": 0, | |
"linewidth": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "${request_name} iterations", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM http_req_duration WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "${request_name} iterations (avg 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM http_req_duration WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "*${request_name}* iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:4052", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:4053", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"max": "red", | |
"mean": "blue", | |
"min": "green", | |
"p90": "yellow", | |
"p95": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "Grouped by 1 sec intervals", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 96 | |
}, | |
"height": "250px", | |
"hiddenSeries": false, | |
"id": 3258, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:1957", | |
"alias": "p95", | |
"linewidth": 2, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "mean", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p95", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "D", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
95 | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p90", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"90" | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "min", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "E", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "max", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"$$hashKey": "object:2303", | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 25000, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "*${request_name}* duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1966", | |
"format": "ms", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1967", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "orange", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - list_contacts": "blue", | |
"HTTP status:500 - undefined": "orange", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 103 | |
}, | |
"hiddenSeries": false, | |
"id": 3260, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests for *${request_name}*", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(0, 234, 255)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateRdYlGn", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 103 | |
}, | |
"heatmap": {}, | |
"height": "250px", | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 3262, | |
"interval": ">1s", | |
"legend": { | |
"show": false | |
}, | |
"links": [], | |
"reverseYBuckets": false, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"value\" FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "*${request_name}* duration", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"tooltipDecimals": null, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "ms", | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 0, | |
"y": 110 | |
}, | |
"height": "50px", | |
"id": 2950, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "min", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 4, | |
"y": 110 | |
}, | |
"height": "50px", | |
"id": 2948, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT median(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "median", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 8, | |
"y": 110 | |
}, | |
"height": "50px", | |
"id": 2949, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "mean", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 12, | |
"y": 110 | |
}, | |
"height": "50px", | |
"id": 2947, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 90%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 16, | |
"y": 110 | |
}, | |
"height": "50px", | |
"id": 2946, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 95%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 20, | |
"y": 110 | |
}, | |
"height": "50px", | |
"id": 2933, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "add_contact", | |
"value": "add_contact" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "max", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 112 | |
}, | |
"id": 3600, | |
"panels": [], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2906, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"title": "k6 metrics for request: *$request_name*", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"::UC2_subgroup iterations (avg 30s)": "light-green", | |
"error/s": "red", | |
"error/s (AVG 1mn)": "super-light-red", | |
"error_count": "red", | |
"error_count /s": "red", | |
"error_rate": "dark-red", | |
"error_rate (AVG 1mn)": "super-light-red", | |
"non-2xx/s": "red", | |
"other error/s": "red", | |
"rate limiting": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 8, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 113 | |
}, | |
"hiddenSeries": false, | |
"id": 3601, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3234, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:5129", | |
"alias": "/avg 30s/", | |
"fill": 0, | |
"linewidth": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "${request_name} iterations", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM http_req_duration WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "${request_name} iterations (avg 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM http_req_duration WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "*${request_name}* iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:4052", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:4053", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"max": "red", | |
"mean": "blue", | |
"min": "green", | |
"p90": "yellow", | |
"p95": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "Grouped by 1 sec intervals", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 113 | |
}, | |
"height": "250px", | |
"hiddenSeries": false, | |
"id": 3602, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3258, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:1957", | |
"alias": "p95", | |
"linewidth": 2, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "mean", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p95", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "D", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
95 | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p90", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"90" | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "min", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "E", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "max", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"$$hashKey": "object:2303", | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 25000, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "*${request_name}* duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1966", | |
"format": "ms", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1967", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "orange", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - list_contacts": "blue", | |
"HTTP status:500 - undefined": "orange", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 120 | |
}, | |
"hiddenSeries": false, | |
"id": 3603, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3260, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests for *${request_name}*", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(0, 234, 255)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateRdYlGn", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 120 | |
}, | |
"heatmap": {}, | |
"height": "250px", | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 3604, | |
"interval": ">1s", | |
"legend": { | |
"show": false | |
}, | |
"links": [], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3262, | |
"repeatedByRow": true, | |
"reverseYBuckets": false, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"value\" FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "*${request_name}* duration", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"tooltipDecimals": null, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "ms", | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 0, | |
"y": 127 | |
}, | |
"height": "50px", | |
"id": 3605, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2950, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "min", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 4, | |
"y": 127 | |
}, | |
"height": "50px", | |
"id": 3606, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2948, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT median(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "median", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 8, | |
"y": 127 | |
}, | |
"height": "50px", | |
"id": 3607, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2949, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "mean", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 12, | |
"y": 127 | |
}, | |
"height": "50px", | |
"id": 3608, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2947, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 90%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 16, | |
"y": 127 | |
}, | |
"height": "50px", | |
"id": 3609, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2946, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 95%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 20, | |
"y": 127 | |
}, | |
"height": "50px", | |
"id": 3610, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2933, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "get_contact_details", | |
"value": "get_contact_details" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "max", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 129 | |
}, | |
"id": 3611, | |
"panels": [], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2906, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"title": "k6 metrics for request: *$request_name*", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"::UC2_subgroup iterations (avg 30s)": "light-green", | |
"error/s": "red", | |
"error/s (AVG 1mn)": "super-light-red", | |
"error_count": "red", | |
"error_count /s": "red", | |
"error_rate": "dark-red", | |
"error_rate (AVG 1mn)": "super-light-red", | |
"non-2xx/s": "red", | |
"other error/s": "red", | |
"rate limiting": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 8, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 130 | |
}, | |
"hiddenSeries": false, | |
"id": 3612, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3234, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:5129", | |
"alias": "/avg 30s/", | |
"fill": 0, | |
"linewidth": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "${request_name} iterations", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\") FROM http_req_duration WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter GROUP BY time(1s)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "${request_name} iterations (avg 30s)", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"1s" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"0" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "errors_count", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT count(\"value\")/30 FROM http_req_duration WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter GROUP BY time(30s)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "sum" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "*${request_name}* iterations", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:4052", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:4053", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"max": "red", | |
"mean": "blue", | |
"min": "green", | |
"p90": "yellow", | |
"p95": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "Grouped by 1 sec intervals", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 130 | |
}, | |
"height": "250px", | |
"hiddenSeries": false, | |
"id": 3613, | |
"interval": ">1s", | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3258, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"seriesOverrides": [ | |
{ | |
"$$hashKey": "object:1957", | |
"alias": "p95", | |
"linewidth": 2, | |
"zindex": 3 | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"alias": "mean", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "C", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p95", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "D", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
95 | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "p90", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [ | |
"90" | |
], | |
"type": "percentile" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "min", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "E", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "min" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "max", | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"none" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"measurement": "/^$Measurement$/", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') GROUP BY time($__interval)", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "max" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [ | |
{ | |
"$$hashKey": "object:2303", | |
"colorMode": "critical", | |
"fill": true, | |
"line": false, | |
"op": "gt", | |
"value": 25000, | |
"yaxis": "left" | |
} | |
], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "*${request_name}* duration", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1966", | |
"format": "ms", | |
"label": null, | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1967", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"aliasColors": { | |
"HTTP status:500": "orange", | |
"HTTP status:500 - add_contact": "orange", | |
"HTTP status:500 - list_contacts": "blue", | |
"HTTP status:500 - undefined": "orange", | |
"HTTP status:500, error_code:1500": "yellow", | |
"OK /s": "green", | |
"OK /s (AVG per 1mn)": "green", | |
"Requests per Second": "green", | |
"Requests per Second (AVG per 1mn)": "super-light-green", | |
"UC_selfsub /s": "#eab839", | |
"UC_thirdParty /s": "#6ed0e0", | |
"account_status /s": "semi-dark-blue", | |
"account_status /s (AVG per 1mn)": "super-light-blue", | |
"account_status /s (AVG per 30s)": "blue", | |
"errors /s": "orange", | |
"errors /s (AVG per 1mn)": "red", | |
"errors /s (AVG per 30s)": "red", | |
"lookup: no such host (error_code 1101)": "orange", | |
"low level error - error_code:1101": "dark-orange", | |
"rate-limited req /s": "yellow", | |
"rate-limited req /s (AVG per 1mn)": "orange", | |
"rate-limited req /s (AVG per 30s)": "orange", | |
"requests /s": "blue", | |
"requests /s (AVG per 1mn)": "super-light-blue", | |
"selfsub /s (AVG per 30s)": "blue", | |
"thirdparty_pending /s (AVG per 30s)": "yellow", | |
"thirdparty_validation /s (AVG per 30s)": "orange" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": "InfluxDB-k6", | |
"description": "for more information, see\nhttps://k6.io/docs/javascript-api/error-codes", | |
"fieldConfig": { | |
"defaults": { | |
"links": [] | |
}, | |
"overrides": [] | |
}, | |
"fill": 10, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 137 | |
}, | |
"hiddenSeries": false, | |
"id": 3614, | |
"interval": "1s", | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null as zero", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "7.5.4", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3260, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": true, | |
"targets": [ | |
{ | |
"alias": "HTTP status:[[tag_status]]", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" != '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
}, | |
{ | |
"alias": "[[tag_error]] (error_code [[tag_error_code]])", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"hide": false, | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT sum(\"value\") FROM \"autogen\".\"http_req_failed\" WHERE (\"name\" =~ /^$request_name$/) AND $timeFilter AND \"value\" > 0 AND (\"status\" = '0') GROUP BY time(1s), \"error\", \"error_code\", \"status\"", | |
"rawQuery": true, | |
"refId": "B", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": [], | |
"timeFrom": null, | |
"timeRegions": [], | |
"timeShift": null, | |
"title": "failed requests for *${request_name}*", | |
"tooltip": { | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"buckets": null, | |
"mode": "time", | |
"name": null, | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:785", | |
"format": "cps", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:786", | |
"format": "short", | |
"label": null, | |
"logBase": 1, | |
"max": null, | |
"min": null, | |
"show": false | |
} | |
], | |
"yaxis": { | |
"align": false, | |
"alignLevel": null | |
} | |
}, | |
{ | |
"cards": { | |
"cardPadding": null, | |
"cardRound": null | |
}, | |
"color": { | |
"cardColor": "rgb(0, 234, 255)", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateRdYlGn", | |
"exponent": 0.5, | |
"mode": "spectrum" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 137 | |
}, | |
"heatmap": {}, | |
"height": "250px", | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 3615, | |
"interval": ">1s", | |
"legend": { | |
"show": false | |
}, | |
"links": [], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 3262, | |
"repeatedByRow": true, | |
"reverseYBuckets": false, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT \"value\" FROM http_req_duration WHERE $timeFilter and value > 0 AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"title": "*${request_name}* duration", | |
"tooltip": { | |
"show": true, | |
"showHistogram": true | |
}, | |
"tooltipDecimals": null, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketNumber": null, | |
"xBucketSize": null, | |
"yAxis": { | |
"decimals": null, | |
"format": "ms", | |
"logBase": 2, | |
"max": null, | |
"min": null, | |
"show": true, | |
"splitFactor": null | |
}, | |
"yBucketBound": "auto", | |
"yBucketNumber": null, | |
"yBucketSize": null | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 0, | |
"y": 144 | |
}, | |
"height": "50px", | |
"id": 3616, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2950, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT min(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "min", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "current" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 4, | |
"y": 144 | |
}, | |
"height": "50px", | |
"id": 3617, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2948, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT median(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "median", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 8, | |
"y": 144 | |
}, | |
"height": "50px", | |
"id": 3618, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2949, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT mean(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "mean", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 12, | |
"y": 144 | |
}, | |
"height": "50px", | |
"id": 3619, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2947, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 90) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 90%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 16, | |
"y": 144 | |
}, | |
"height": "50px", | |
"id": 3620, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2946, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT percentile(\"value\", 95) FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "percentile 95%", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"cacheTimeout": null, | |
"colorBackground": false, | |
"colorValue": false, | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"datasource": "InfluxDB-k6", | |
"decimals": 2, | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"format": "ms", | |
"gauge": { | |
"maxValue": 100, | |
"minValue": 0, | |
"show": false, | |
"thresholdLabels": false, | |
"thresholdMarkers": true | |
}, | |
"gridPos": { | |
"h": 2, | |
"w": 4, | |
"x": 20, | |
"y": 144 | |
}, | |
"height": "50px", | |
"id": 3621, | |
"interval": null, | |
"links": [], | |
"mappingType": 1, | |
"mappingTypes": [ | |
{ | |
"name": "value to text", | |
"value": 1 | |
}, | |
{ | |
"name": "range to text", | |
"value": 2 | |
} | |
], | |
"maxDataPoints": 100, | |
"nullPointMode": "connected", | |
"nullText": null, | |
"postfix": "", | |
"postfixFontSize": "50%", | |
"prefix": "", | |
"prefixFontSize": "50%", | |
"rangeMaps": [ | |
{ | |
"from": "null", | |
"text": "N/A", | |
"to": "null" | |
} | |
], | |
"repeatIteration": 1622106784112, | |
"repeatPanelId": 2933, | |
"repeatedByRow": true, | |
"scopedVars": { | |
"request_name": { | |
"selected": false, | |
"text": "list_contacts", | |
"value": "list_contacts" | |
} | |
}, | |
"sparkline": { | |
"fillColor": "rgba(31, 118, 189, 0.18)", | |
"full": false, | |
"lineColor": "rgb(31, 120, 193)", | |
"show": false | |
}, | |
"tableColumn": "", | |
"targets": [ | |
{ | |
"dsType": "influxdb", | |
"groupBy": [ | |
{ | |
"params": [ | |
"$__interval" | |
], | |
"type": "time" | |
}, | |
{ | |
"params": [ | |
"null" | |
], | |
"type": "fill" | |
} | |
], | |
"orderByTime": "ASC", | |
"policy": "default", | |
"query": "SELECT max(\"value\") FROM http_req_duration WHERE $timeFilter AND (\"name\"='$request_name') ", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
}, | |
{ | |
"params": [], | |
"type": "mean" | |
} | |
] | |
], | |
"tags": [] | |
} | |
], | |
"thresholds": "", | |
"title": "max", | |
"type": "singlestat", | |
"valueFontSize": "70%", | |
"valueMaps": [ | |
{ | |
"op": "=", | |
"text": "N/A", | |
"value": "null" | |
} | |
], | |
"valueName": "avg" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 146 | |
}, | |
"id": 1205, | |
"panels": [], | |
"title": "debug details", | |
"type": "row" | |
}, | |
{ | |
"columns": [], | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 5, | |
"w": 24, | |
"x": 0, | |
"y": 147 | |
}, | |
"id": 3205, | |
"pageSize": null, | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 1, | |
"desc": true | |
}, | |
"styles": [ | |
{ | |
"$$hashKey": "object:2614", | |
"alias": "timestamp", | |
"dateFormat": "YYYY-MM-DD HH:mm:ss", | |
"decimals": 0, | |
"pattern": "Time", | |
"type": "date" | |
}, | |
{ | |
"$$hashKey": "object:2615", | |
"alias": "HTTP status code", | |
"align": "", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.status", | |
"thresholds": [], | |
"type": "number", | |
"unit": "none" | |
}, | |
{ | |
"$$hashKey": "object:2616", | |
"alias": "request name", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.name", | |
"thresholds": [], | |
"type": "string", | |
"unit": "ms" | |
}, | |
{ | |
"$$hashKey": "object:3027", | |
"alias": "scenario", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.scenario", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:3138", | |
"alias": "group", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.group", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:4465", | |
"alias": "url", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.url", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:4574", | |
"alias": "duration", | |
"align": "auto", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration", | |
"thresholds": [], | |
"type": "number", | |
"unit": "ms" | |
}, | |
{ | |
"$$hashKey": "object:2617", | |
"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": [ | |
{ | |
"groupBy": [], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "k6-rp", | |
"query": "SELECT \"url\", \"status\", \"value\", \"name\", \"group\", \"scenario\" FROM \"http_req_duration\" WHERE $timeFilter AND \"status\" != '0' AND \"expected_response\" = 'false'", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"url" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"status" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "status", | |
"operator": "!=", | |
"value": "200" | |
}, | |
{ | |
"condition": "AND", | |
"key": "status", | |
"operator": "!=", | |
"value": "201" | |
}, | |
{ | |
"condition": "AND", | |
"key": "status", | |
"operator": "!=", | |
"value": "202" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "HTTP errors", | |
"transform": "timeseries_to_columns", | |
"type": "table-old" | |
}, | |
{ | |
"columns": [], | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 5, | |
"w": 24, | |
"x": 0, | |
"y": 152 | |
}, | |
"id": 1039, | |
"pageSize": null, | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 2, | |
"desc": true | |
}, | |
"styles": [ | |
{ | |
"$$hashKey": "object:5188", | |
"alias": "timestamp", | |
"dateFormat": "YYYY-MM-DD HH:mm:ss", | |
"pattern": "Time", | |
"type": "date" | |
}, | |
{ | |
"$$hashKey": "object:5189", | |
"alias": "error_code", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.error_code", | |
"thresholds": [], | |
"type": "number", | |
"unit": "none" | |
}, | |
{ | |
"$$hashKey": "object:5190", | |
"alias": "duration", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration", | |
"thresholds": [], | |
"type": "number", | |
"unit": "ms" | |
}, | |
{ | |
"$$hashKey": "object:5895", | |
"alias": "url", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.url", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:6018", | |
"alias": "error", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.error", | |
"thresholds": [], | |
"type": "number", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:6104", | |
"alias": "request name", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.name", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:6225", | |
"alias": "scenario", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.scenario", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:6346", | |
"alias": "group", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.group", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:574", | |
"alias": "HTTP status code", | |
"align": "auto", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.status", | |
"thresholds": [], | |
"type": "number", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:5191", | |
"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": [ | |
{ | |
"groupBy": [], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "k6-rp", | |
"query": "SELECT \"url\", \"error\", \"error_code\", \"value\", \"name\", \"group\", \"scenario\" FROM \"http_req_duration\" WHERE (\"error\" != '') AND $timeFilter", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"url" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"status" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "status", | |
"operator": "!=", | |
"value": "200" | |
}, | |
{ | |
"condition": "AND", | |
"key": "status", | |
"operator": "!=", | |
"value": "201" | |
}, | |
{ | |
"condition": "AND", | |
"key": "status", | |
"operator": "!=", | |
"value": "202" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "low level errors", | |
"transform": "timeseries_to_columns", | |
"type": "table-old" | |
}, | |
{ | |
"columns": [], | |
"datasource": "InfluxDB-k6", | |
"fieldConfig": { | |
"defaults": {}, | |
"overrides": [] | |
}, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 5, | |
"w": 24, | |
"x": 0, | |
"y": 157 | |
}, | |
"id": 3206, | |
"pageSize": null, | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 2, | |
"desc": false | |
}, | |
"styles": [ | |
{ | |
"$$hashKey": "object:2614", | |
"alias": "timestamp", | |
"dateFormat": "YYYY-MM-DD HH:mm:ss", | |
"decimals": 0, | |
"pattern": "Time", | |
"type": "date" | |
}, | |
{ | |
"$$hashKey": "object:2615", | |
"alias": "HTTP status code", | |
"align": "", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.status", | |
"thresholds": [], | |
"type": "number", | |
"unit": "none" | |
}, | |
{ | |
"$$hashKey": "object:2616", | |
"alias": "request name", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.name", | |
"thresholds": [], | |
"type": "string", | |
"unit": "ms" | |
}, | |
{ | |
"$$hashKey": "object:3027", | |
"alias": "scenario", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.scenario", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:3138", | |
"alias": "group", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.group", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:4465", | |
"alias": "url", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.url", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:4574", | |
"alias": "duration", | |
"align": "auto", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration", | |
"thresholds": [], | |
"type": "number", | |
"unit": "ms" | |
}, | |
{ | |
"$$hashKey": "object:3062", | |
"alias": "error", | |
"align": "auto", | |
"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, | |
"mappingType": 1, | |
"pattern": "http_req_duration.error", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:3195", | |
"alias": "error_code", | |
"align": "auto", | |
"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": 0, | |
"mappingType": 1, | |
"pattern": "http_req_duration.error_code", | |
"thresholds": [], | |
"type": "string", | |
"unit": "short" | |
}, | |
{ | |
"$$hashKey": "object:2617", | |
"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": [ | |
{ | |
"groupBy": [], | |
"measurement": "http_req_duration", | |
"orderByTime": "ASC", | |
"policy": "k6-rp", | |
"query": "SELECT \"url\", \"value\", \"status\", \"error\", \"error_code\", \"name\", \"group\", \"scenario\" FROM \"http_req_duration\" WHERE $timeFilter AND (\"value\" >= $max_duration_allowed)", | |
"rawQuery": true, | |
"refId": "A", | |
"resultFormat": "time_series", | |
"select": [ | |
[ | |
{ | |
"params": [ | |
"value" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"url" | |
], | |
"type": "field" | |
} | |
], | |
[ | |
{ | |
"params": [ | |
"status" | |
], | |
"type": "field" | |
} | |
] | |
], | |
"tags": [ | |
{ | |
"key": "status", | |
"operator": "!=", | |
"value": "200" | |
}, | |
{ | |
"condition": "AND", | |
"key": "status", | |
"operator": "!=", | |
"value": "201" | |
}, | |
{ | |
"condition": "AND", | |
"key": "status", | |
"operator": "!=", | |
"value": "202" | |
} | |
] | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "long request (>$max_duration_allowed ms)", | |
"transform": "timeseries_to_columns", | |
"type": "table-old" | |
} | |
], | |
"refresh": "30s", | |
"schemaVersion": 27, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"allValue": null, | |
"current": { | |
"selected": true, | |
"text": [ | |
"UC1", | |
"UC2" | |
], | |
"value": [ | |
"UC1", | |
"UC2" | |
] | |
}, | |
"datasource": "InfluxDB-k6", | |
"definition": "SHOW TAG VALUES WITH KEY = \"scenario\"", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": null, | |
"multi": true, | |
"name": "scenario", | |
"options": [], | |
"query": "SHOW TAG VALUES WITH KEY = \"scenario\"", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": true, | |
"text": [ | |
"All" | |
], | |
"value": [ | |
"$__all" | |
] | |
}, | |
"datasource": "InfluxDB-k6", | |
"definition": "SHOW TAG VALUES WITH KEY = \"group\"", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": null, | |
"multi": true, | |
"name": "group", | |
"options": [], | |
"query": "SHOW TAG VALUES WITH KEY = \"group\"", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": true, | |
"text": [ | |
"All" | |
], | |
"value": [ | |
"$__all" | |
] | |
}, | |
"datasource": "InfluxDB-k6", | |
"definition": "SHOW TAG VALUES WITH KEY = \"name\"", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": "request name tag filter", | |
"multi": true, | |
"name": "request_name", | |
"options": [], | |
"query": "SHOW TAG VALUES WITH KEY = \"name\"", | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 5, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"current": { | |
"selected": true, | |
"text": "2000", | |
"value": "2000" | |
}, | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"label": "long request threshold (ms)", | |
"name": "max_duration_allowed", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "2000", | |
"value": "2000" | |
} | |
], | |
"query": "2000", | |
"skipUrlSync": false, | |
"type": "textbox" | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": false, | |
"text": "mpms-k6aas", | |
"value": "mpms-k6aas" | |
}, | |
"datasource": "Prometheus-dbms", | |
"definition": "label_values(namespace)", | |
"description": null, | |
"error": null, | |
"hide": 2, | |
"includeAll": false, | |
"label": null, | |
"multi": false, | |
"name": "namespace", | |
"options": [ | |
{ | |
"selected": true, | |
"text": "mpms-k6aas", | |
"value": "mpms-k6aas" | |
} | |
], | |
"query": { | |
"query": "label_values(namespace)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": true, | |
"text": [ | |
"yaam-demo" | |
], | |
"value": [ | |
"yaam-demo" | |
] | |
}, | |
"datasource": "Prometheus-dbms", | |
"definition": "label_values(container_memory_rss{namespace=~\"^$namespace$\",container!=\"\",pod!=\"\",container!=\"POD\"}, container)", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": false, | |
"label": "container (openshift metrics)", | |
"multi": true, | |
"name": "container", | |
"options": [], | |
"query": { | |
"query": "label_values(container_memory_rss{namespace=~\"^$namespace$\",container!=\"\",pod!=\"\",container!=\"POD\"}, container)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 2, | |
"regex": "^(?!init)(\\S+)", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": true, | |
"text": [ | |
"All" | |
], | |
"value": [ | |
"$__all" | |
] | |
}, | |
"datasource": "Prometheus-dbms", | |
"definition": "label_values(container_memory_rss{namespace=~\"^$namespace$\", container=~\"^$container$\"}, pod)", | |
"description": null, | |
"error": null, | |
"hide": 2, | |
"includeAll": true, | |
"label": null, | |
"multi": true, | |
"name": "pod", | |
"options": [], | |
"query": { | |
"query": "label_values(container_memory_rss{namespace=~\"^$namespace$\", container=~\"^$container$\"}, pod)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 2, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-15m", | |
"to": "now" | |
}, | |
"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": "browser", | |
"title": "k6 & openshift metrics (advanced)", | |
"uid": "k6advanceduid", | |
"version": 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment