src/dashboards/test-run-result.json
{
"__inputs": [
{
"name": "datasource",
"label": "k6 Cloud",
"description": "",
"type": "datasource",
"pluginId": "grafana-k6cloud-datasource",
"pluginName": "k6 Cloud"
}
],
"__requires": [
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "7.0.0"
},
{
"type": "datasource",
"id": "grafana-k6cloud-datasource",
"name": "k6 Cloud",
"version": "1.0.0"
},
{
"type": "panel",
"id": "graph",
"name": "Graph",
"version": ""
},
{
"type": "panel",
"id": "table",
"name": "Table",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"links": [
{
"icon": "dashboard",
"includeVars": true,
"tags": [],
"title": "Back to test list",
"tooltip": "Open test list dashboard",
"type": "link",
"url": "/d/k6-cloud-test-runs/test-runs-list?orgId=$__org&refresh=1m&var-datasource=$datasource&var-organization=$organization&var-project=$project&var-test=$test"
}
],
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregation": "median",
"metric": "http_req_duration",
"projectId": "$project",
"qtype": 1,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "mean",
"metric": "http_req_duration",
"projectId": "$project",
"qtype": 1,
"refId": "B",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(95)",
"metric": "http_req_duration",
"projectId": "$project",
"qtype": 1,
"refId": "C",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(99)",
"metric": "http_req_duration",
"projectId": "$project",
"qtype": 1,
"refId": "D",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "max",
"metric": "http_req_duration",
"projectId": "$project",
"qtype": 1,
"refId": "E",
"testId": "$test",
"testRunId": "$testrun"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Response time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 0
},
"hiddenSeries": false,
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "vus",
"yaxis": 2
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregation": "value",
"metric": "vus",
"projectId": "$project",
"qtype": 1,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "rps",
"metric": "http_reqs",
"projectId": "$project",
"qtype": 1,
"refId": "B",
"testId": "$test",
"testRunId": "$testrun"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Throughput",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "rps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "VUs",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 1
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Pass/Fail"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-text"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Pass/Fail"
},
"properties": [
{
"id": "mappings",
"value": [
{
"from": "",
"id": 0,
"text": "passed",
"to": "",
"type": 1,
"value": "0"
},
{
"from": "",
"id": 1,
"text": "failed",
"to": "",
"type": 1,
"value": "1"
}
]
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 16,
"options": {
"showHeader": true
},
"pluginVersion": "7.1.5",
"targets": [
{
"projectId": "$project",
"qtype": 4,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Thresholds",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Threshold",
"Metric value",
"Pass/Fail"
]
}
}
}
],
"type": "table"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"displayMode": "color-text"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 0
},
{
"color": "green",
"value": 100
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Successful"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Failed"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"id": 14,
"options": {
"showHeader": true
},
"pluginVersion": "7.1.5",
"targets": [
{
"projectId": "$project",
"qtype": 3,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
}
],
"timeFrom": null,
"timeShift": null,
"title": "Checks",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"Name",
"Successful",
"Success rate",
"Count"
]
}
}
},
{
"id": "calculateField",
"options": {
"alias": "Failed",
"binary": {
"left": "Count",
"operator": "-",
"reducer": "sum",
"right": "Successful"
},
"mode": "binary",
"reduce": {
"include": [
"Count",
"Successful"
],
"reducer": "diff"
},
"replaceFields": false
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Count": true
},
"indexByName": {
"Count": 2,
"Failed": 4,
"Name": 0,
"Success rate": 1,
"Successful": 3
},
"renameByName": {}
}
}
],
"type": "table"
},
{
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"displayMode": "color-text"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "green",
"value": 100
},
{
"color": "#EAB839",
"value": 300
},
{
"color": "red",
"value": 400
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Min"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Mean"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "P95"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "P99"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Max"
},
"properties": [
{
"id": "custom.displayMode",
"value": "auto"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 16
},
"id": 12,
"options": {
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "Max"
}
]
},
"pluginVersion": "7.1.5",
"targets": [
{
"projectId": "$project",
"qtype": 2,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
}
],
"timeFrom": null,
"timeShift": null,
"title": "URLs",
"transformations": [
{
"id": "filterFieldsByName",
"options": {
"include": {
"names": [
"URL",
"Method",
"Status",
"Count",
"Min",
"Mean",
"P95",
"P99",
"Max"
]
}
}
}
],
"type": "table"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"description": "",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 23
},
"hiddenSeries": false,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregation": "p(95)",
"metric": "http_req_connecting",
"projectId": "$project",
"qtype": 1,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(95)",
"metric": "http_req_tls_handshaking",
"projectId": "$project",
"qtype": 1,
"refId": "B",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(95)",
"metric": "http_req_blocked",
"projectId": "$project",
"qtype": 1,
"refId": "C",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(95)",
"metric": "http_req_sending",
"projectId": "$project",
"qtype": 1,
"refId": "D",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(95)",
"metric": "http_req_waiting",
"projectId": "$project",
"qtype": 1,
"refId": "E",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "p(95)",
"metric": "http_req_receiving",
"projectId": "$project",
"qtype": 1,
"refId": "F",
"testId": "$test",
"testRunId": "$testrun"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Response time breakdown (95th percentile)",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "ms",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$datasource",
"fieldConfig": {
"defaults": {
"custom": {}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 23
},
"hiddenSeries": false,
"id": 8,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"percentage": false,
"pluginVersion": "7.1.5",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"aggregation": "rps",
"metric": "data_sent",
"projectId": "$project",
"qtype": 1,
"refId": "A",
"testId": "$test",
"testRunId": "$testrun"
},
{
"aggregation": "rps",
"metric": "data_received",
"projectId": "$project",
"qtype": 1,
"refId": "B",
"testId": "$test",
"testRunId": "$testrun"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Data transfer",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "bps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "1m",
"schemaVersion": 25,
"style": "dark",
"tags": [
"k6-cloud"
],
"templating": {
"list": [
{
"current": {},
"hide": 0,
"includeAll": false,
"label": "Datasource",
"multi": false,
"name": "datasource",
"options": [],
"query": "grafana-k6cloud-datasource",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"definition": "list of organizations",
"hide": 0,
"includeAll": false,
"label": "Organization",
"multi": false,
"name": "organization",
"options": [],
"query": {
"qtype": 0
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"definition": "list of projects",
"hide": 0,
"includeAll": false,
"label": "Project",
"multi": false,
"name": "project",
"options": [],
"query": {
"qtype": 1,
"query": "$organization"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"definition": "list of tests",
"hide": 0,
"includeAll": false,
"label": "Test",
"multi": false,
"name": "test",
"options": [],
"query": {
"qtype": 2,
"query": "$organization.$project"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
},
{
"allValue": null,
"current": {},
"datasource": "$datasource",
"definition": "list of test runs",
"hide": 0,
"includeAll": false,
"label": "Test Run",
"multi": false,
"name": "testrun",
"options": [],
"query": {
"qtype": 3,
"query": "$organization.$project.$test"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"tagValuesQuery": "",
"tags": [],
"tagsQuery": "",
"type": "query",
"useTags": false
}
]
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "k6 Cloud Test Run Result",
"uid": "k6-cloud-test-run",
"version": 1
}