deploy/docker/grafana/load-test-results.json
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "k6 Test Result",
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 2,
"links": [],
"liveNow": true,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 47,
"panels": [],
"title": "Performance Overview",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "palette-classic"
},
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqs"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " - "
},
"properties": [
{
"id": "displayName",
"value": "without testid -"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 1
},
"id": 49,
"interval": "1s",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(testid) (k6_http_reqs_total{testid=~\"$testid\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} - ",
"range": true,
"refId": "A"
}
],
"title": "Requests Made",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "red",
"mode": "palette-classic"
},
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
},
{
"color": "red",
"value": 0
}
]
},
"unit": "reqs"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " -"
},
"properties": [
{
"id": "displayName",
"value": "without testid"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 4,
"y": 1
},
"id": 71,
"interval": "1s",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": false
},
"text": {},
"textMode": "value_and_name"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(testid) (k6_http_reqs_total{testid=~\"$testid\", expected_response=\"false\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "HTTP Failures",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "palette-classic"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "reqps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " -"
},
"properties": [
{
"id": "displayName",
"value": "without testid -"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 8,
"y": 1
},
"id": 51,
"interval": "5s",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"max"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "sum by(testid) (irate(k6_http_reqs_total{testid=~\"$testid\"}[$__rate_interval]))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "Peak RPS",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "palette-classic"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " -"
},
"properties": [
{
"id": "displayName",
"value": "without testid -"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 12,
"y": 1
},
"id": 52,
"interval": "5",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "histogram_quantile(0.95, sum by(testid) (rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval])))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "P95 Response Time",
"transformations": [],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "palette-classic"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " -"
},
"properties": [
{
"id": "displayName",
"value": "without testid -"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 16,
"y": 1
},
"id": 63,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(testid) (k6_data_received_total{testid=~\"$testid\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "Data Received",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "palette-classic"
},
"decimals": 2,
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " -"
},
"properties": [
{
"id": "displayName",
"value": "without testid -"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 20,
"y": 1
},
"id": 64,
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(testid) (k6_data_sent_total{testid=~\"$testid\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "Data Sent",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": false,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Response Time (avg) - "
},
"properties": [
{
"id": "displayName",
"value": "Response Time (avg) - without testid"
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "A"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "left"
},
{
"id": "color",
"value": {
"mode": "fixed"
}
},
{
"id": "custom.axisLabel",
"value": "VUs"
},
{
"id": "custom.scaleDistribution",
"value": {
"log": 10,
"type": "log"
}
},
{
"id": "custom.showPoints",
"value": "never"
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
},
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
},
{
"id": "custom.axisLabel",
"value": "RPS"
},
{
"id": "custom.lineWidth",
"value": 3
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "D"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 5
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisPlacement",
"value": "hidden"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "C"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
},
{
"id": "unit",
"value": "s"
},
{
"id": "custom.fillOpacity",
"value": 18
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisLabel",
"value": "Response Time"
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "Active VUs - "
},
"properties": [
{
"id": "displayName",
"value": "Active VUs - without testid"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Requests Rate - "
},
"properties": [
{
"id": "displayName",
"value": "Requests Rate - without testid"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Failed Requests Rate - "
},
"properties": [
{
"id": "displayName",
"value": "Failed Requests Rate - without testid"
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 6
},
"id": 14,
"interval": "5",
"options": {
"legend": {
"calcs": [
"min",
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"timezones": [
"browser"
],
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "k6_vus{testid=~\"$testid\"}",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Active VUs - {{testid}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by(testid) (rate(k6_http_reqs_total{testid=~\"$testid\"}[$__rate_interval]))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Requests Rate - {{testid}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg by(testid) (sum by(testid) (rate(k6_http_reqs_total{testid=~\"$testid\", expected_response=\"false\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"legendFormat": "Failed Requests Rate - {{testid}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "(histogram_sum(rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval]))) ",
"hide": false,
"legendFormat": "Response Time (avg) - {{testid}} - {{scenario}} - {{name}}",
"range": true,
"refId": "C"
}
],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "text",
"mode": "palette-classic"
},
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": " -"
},
"properties": [
{
"id": "displayName",
"value": "without testid -"
}
]
}
]
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 19
},
"id": 85,
"interval": "1s",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(testid) (k6_iterations_total{testid=~\"$testid\"})",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "Iteration",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 25,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "normal"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "binBps"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Received - "
},
"properties": [
{
"id": "displayName",
"value": "Received - without testid"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Sent - "
},
"properties": [
{
"id": "displayName",
"value": "Sent - without testid"
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 9,
"x": 4,
"y": 19
},
"id": 18,
"interval": "5s",
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(sum by(testid)(irate(k6_data_received_total{testid=~\"$testid\"}[$__rate_interval])))",
"interval": "",
"legendFormat": "Received - {{testid}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(sum by(testid)(irate(k6_data_sent_total{testid=~\"$testid\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Sent - {{testid}}",
"range": true,
"refId": "B"
}
],
"title": "Data flow",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
},
"unit": "percent"
},
"overrides": [
{
"matcher": {
"id": "byRegexp",
"options": "/[2]0./"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-blue",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/[3]0./"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-purple",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/[4][0-9]./"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-orange",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/[5][0-6]./"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "light-red",
"mode": "fixed"
}
}
]
},
{
"matcher": {
"id": "byRegexp",
"options": "/[1]0./"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "super-light-purple",
"mode": "fixed"
}
}
]
}
]
},
"gridPos": {
"h": 10,
"w": 11,
"x": 13,
"y": 19
},
"id": 78,
"interval": "5",
"options": {
"colorMode": "background",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.6",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "100 * (sum by(status, testid) (k6_http_reqs_total{testid=~\"$testid\"}) / on() group_left() sum(k6_http_reqs_total{testid=~\"$testid\"}) )",
"hide": false,
"instant": false,
"legendFormat": "{{status}} - {{testid}}",
"range": true,
"refId": "A"
}
],
"title": "Code Status Rate",
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "/([2]0. -) $/",
"renamePattern": "$1 without testid "
}
},
{
"id": "renameByRegex",
"options": {
"regex": "/([3]0. -) $/",
"renamePattern": "$1 without testid "
}
},
{
"id": "renameByRegex",
"options": {
"regex": "/([4][0-9]. -) $/",
"renamePattern": "$1 without testid "
}
},
{
"id": "renameByRegex",
"options": {
"regex": "/([5][0-6]. -) $/",
"renamePattern": "$1 without testid "
}
},
{
"id": "renameByRegex",
"options": {
"regex": "/([1]0. -) $/",
"renamePattern": "$1 without testid "
}
}
],
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "red",
"mode": "palette-classic"
},
"mappings": [
{
"options": {
"match": "null+nan",
"result": {
"index": 0,
"text": "0"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue"
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 5,
"w": 4,
"x": 0,
"y": 24
},
"id": 92,
"interval": "1s",
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "auto"
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "sum by(testid) (k6_dropped_iterations_total{testid=~\"$testid\"})",
"format": "time_series",
"hide": false,
"instant": true,
"interval": "",
"legendFormat": "{{testid}} -",
"range": true,
"refId": "A"
}
],
"title": "Dropped Iteration ",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "center",
"displayMode": "auto",
"filterable": true,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red"
},
{
"color": "#EAB839",
"value": 0.5
},
{
"color": "#6ED0E0",
"value": 0.9
},
{
"color": "blue",
"value": 1
}
]
},
"unit": "percentunit"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Success Rate"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-background-solid"
},
{
"id": "color",
"value": {
"mode": "thresholds"
}
}
]
},
{
"matcher": {
"id": "byName",
"options": "testid"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"match": "empty",
"result": {
"index": 0,
"text": "without testid"
}
},
"type": "special"
}
]
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 13,
"x": 0,
"y": 29
},
"id": 104,
"interval": "1",
"options": {
"footer": {
"enablePagination": true,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "k6_checks_rate{testid=~\"$testid\"}",
"format": "table",
"instant": true,
"range": true,
"refId": "A"
}
],
"title": "Checks",
"transformations": [
{
"id": "labelsToFields",
"options": {
"mode": "columns"
}
},
{
"id": "groupBy",
"options": {
"fields": {
"Value": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #E": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #F": {
"aggregations": []
},
"__name__": {
"aggregations": []
},
"check": {
"aggregations": [],
"operation": "groupby"
},
"expected_response": {
"aggregations": [],
"operation": "groupby"
},
"scenario": {
"aggregations": [],
"operation": "groupby"
},
"test_type": {
"aggregations": []
},
"testid": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Value (last)": false,
"testid": false
},
"indexByName": {
"Value (lastNotNull)": 3,
"check": 1,
"scenario": 2,
"testid": 0
},
"renameByName": {
"Value #A (lastNotNull)": "P95 Response Time",
"Value #B (lastNotNull)": "Failed Request Count",
"Value #C (lastNotNull)": "AVG RPS",
"Value #D (lastNotNull)": "Iterations",
"Value #E (lastNotNull)": "Request Count",
"Value (last)": "Success Rate",
"Value (lastNotNull)": "Success Rate",
"scenario": "Scenario"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Request Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
},
{
"matcher": {
"id": "byName",
"options": "P95 Response Time"
},
"properties": [
{
"id": "unit",
"value": "ms"
}
]
},
{
"matcher": {
"id": "byName",
"options": "AVG RPS"
},
"properties": [
{
"id": "unit",
"value": "reqps"
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 11,
"x": 13,
"y": 29
},
"id": 107,
"interval": "1",
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 1,
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "test_type"
}
]
},
"pluginVersion": "9.3.2",
"title": "Thresholds WIP",
"transformations": [
{
"disabled": true,
"id": "merge",
"options": {}
},
{
"disabled": true,
"id": "groupBy",
"options": {
"fields": {
"Value": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #E": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #F": {
"aggregations": []
},
"expected_response": {
"aggregations": [],
"operation": "groupby"
},
"scenario": {
"aggregations": [],
"operation": "groupby"
},
"test_type": {
"aggregations": []
},
"testid": {
"aggregations": []
}
}
}
},
{
"disabled": true,
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Value #A (lastNotNull)": 4,
"Value #B (lastNotNull)": 3,
"Value #C (lastNotNull)": 5,
"Value #D (lastNotNull)": 1,
"Value #E (lastNotNull)": 2,
"scenario": 0
},
"renameByName": {
"Value #A (lastNotNull)": "P95 Response Time",
"Value #B (lastNotNull)": "Failed Request Count",
"Value #C (lastNotNull)": "AVG RPS",
"Value #D (lastNotNull)": "Iterations",
"Value #E (lastNotNull)": "Request Count",
"Value (lastNotNull)": "Failed Request",
"scenario": "Scenario"
}
}
}
],
"type": "table"
},
{
"collapsed": false,
"datasource": {
"type": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 36
},
"id": 32,
"panels": [],
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "HTTP ",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"align": "center",
"displayMode": "color-text",
"filterable": true,
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue"
}
]
},
"unit": "none"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "status"
},
"properties": [
{
"id": "custom.displayMode",
"value": "color-background-solid"
},
{
"id": "unit",
"value": "short"
},
{
"id": "custom.width"
},
{
"id": "mappings",
"value": [
{
"options": {
"100": {
"color": "super-light-purple",
"index": 0,
"text": "100 Continue"
},
"101": {
"color": "super-light-purple",
"index": 1,
"text": "101 Switching Protocols"
},
"102": {
"color": "super-light-purple",
"index": 2,
"text": "102 Processing"
},
"103": {
"color": "super-light-purple",
"index": 3,
"text": "103 Early Hints"
},
"200": {
"color": "blue",
"index": 4,
"text": "200 OK"
},
"201": {
"color": "blue",
"index": 5,
"text": "201 Created"
},
"202": {
"color": "blue",
"index": 6,
"text": "202 Accepted"
},
"203": {
"color": "blue",
"index": 7,
"text": "203 Non-Authoritative Information"
},
"204": {
"color": "blue",
"index": 8,
"text": "204 No Content"
},
"205": {
"color": "blue",
"index": 9,
"text": "205 Reset Content"
},
"206": {
"color": "blue",
"index": 10,
"text": "206 Partial Content"
},
"207": {
"color": "blue",
"index": 11,
"text": "207 Multi-Status"
},
"208": {
"color": "blue",
"index": 12,
"text": "208 Already Reported "
},
"226": {
"color": "blue",
"index": 13,
"text": "226 IM Used "
},
"300": {
"color": "purple",
"index": 14,
"text": "300 Multiple Choices"
},
"301": {
"color": "purple",
"index": 15,
"text": "301 Moved Permanently"
},
"302": {
"color": "purple",
"index": 16,
"text": "302 Found"
},
"303": {
"color": "purple",
"index": 17,
"text": "303 See Other"
},
"304": {
"color": "purple",
"index": 18,
"text": "304 Not Modified"
},
"305": {
"color": "purple",
"index": 19,
"text": "305 Use Proxy "
},
"307": {
"color": "purple",
"index": 20,
"text": "307 Temporary Redirect"
},
"308": {
"color": "purple",
"index": 21,
"text": "308 Permanent Redirect"
},
"400": {
"color": "orange",
"index": 22,
"text": "400 Bad Request"
},
"401": {
"color": "orange",
"index": 23,
"text": "401 Unauthorized"
},
"402": {
"color": "orange",
"index": 24,
"text": "402 Payment Required"
},
"403": {
"color": "orange",
"index": 25,
"text": "403 Forbidden"
},
"404": {
"color": "orange",
"index": 26,
"text": "404 Not Found"
},
"405": {
"color": "orange",
"index": 27,
"text": "405 Method Not Allowed"
},
"406": {
"color": "orange",
"index": 28,
"text": "406 Not Acceptable"
},
"407": {
"color": "orange",
"index": 29,
"text": "407 Proxy Authentication Required"
},
"408": {
"color": "orange",
"index": 30,
"text": "408 Request Timeout"
},
"409": {
"color": "orange",
"index": 31,
"text": "409 Conflict"
},
"410": {
"color": "orange",
"index": 32,
"text": "410 Gone"
},
"411": {
"color": "orange",
"index": 33,
"text": "411 Length Required"
},
"412": {
"color": "orange",
"index": 34,
"text": "412 Precondition Failed"
},
"413": {
"color": "orange",
"index": 35,
"text": "413 Payload Too Large"
},
"414": {
"color": "orange",
"index": 36,
"text": "414 URI Too Long"
},
"415": {
"color": "orange",
"index": 37,
"text": "415 Unsupported Media Type"
},
"416": {
"color": "orange",
"index": 38,
"text": "416 Range Not Satisfiable"
},
"417": {
"color": "orange",
"index": 39,
"text": "417 Expectation Failed"
},
"418": {
"color": "orange",
"index": 40,
"text": "418 I'm a teapot"
},
"421": {
"color": "orange",
"index": 41,
"text": "421 Misdirected Request"
},
"422": {
"color": "orange",
"index": 42,
"text": "422 Unprocessable Entity"
},
"423": {
"color": "orange",
"index": 43,
"text": "423 Locked "
},
"424": {
"color": "orange",
"index": 44,
"text": "424 Failed Dependency"
},
"425": {
"color": "orange",
"index": 45,
"text": "425 Too Early"
},
"426": {
"color": "orange",
"index": 46,
"text": "426 Upgrade Required"
},
"428": {
"color": "orange",
"index": 47,
"text": "428 Precondition Required"
},
"429": {
"color": "orange",
"index": 48,
"text": "429 Too Many Requests"
},
"431": {
"color": "orange",
"index": 49,
"text": "431 Request Header Fields Too Large"
},
"451": {
"color": "orange",
"index": 50,
"text": "451 Unavailable For Legal Reasons431 Request Header Fields Too Large"
},
"500": {
"color": "red",
"index": 51,
"text": "500 Internal Server Error"
},
"501": {
"color": "red",
"index": 52,
"text": "501 Not Implemented"
},
"502": {
"color": "red",
"index": 53,
"text": "502 Bad Gateway"
},
"503": {
"color": "red",
"index": 54,
"text": "503 Service Unavailable"
},
"504": {
"color": "red",
"index": 55,
"text": "504 Gateway Timeout"
},
"505": {
"color": "red",
"index": 56,
"text": "505 HTTP Version Not Supported"
},
"506": {
"color": "red",
"index": 57,
"text": "506 Variant Also Negotiates"
},
"507": {
"color": "red",
"index": 58,
"text": "507 Insufficient Storage"
},
"508": {
"color": "red",
"index": 59,
"text": "508 Loop Detected "
},
"510": {
"color": "red",
"index": 60,
"text": "510 Not Extended"
},
"511": {
"color": "red",
"index": 61,
"text": "511 Network Authentication Required"
}
},
"type": "value"
}
]
}
]
},
{
"matcher": {
"id": "byName",
"options": "count"
},
"properties": [
{
"id": "unit",
"value": "short"
},
{
"id": "color",
"value": {
"fixedColor": "blue",
"mode": "fixed"
}
},
{
"id": "custom.width",
"value": 81
}
]
},
{
"matcher": {
"id": "byName",
"options": "min "
},
"properties": [
{
"id": "unit",
"value": "s"
},
{
"id": "custom.width",
"value": 101
}
]
},
{
"matcher": {
"id": "byName",
"options": "mean"
},
"properties": [
{
"id": "unit",
"value": "s"
},
{
"id": "custom.width",
"value": 97
}
]
},
{
"matcher": {
"id": "byName",
"options": "max"
},
"properties": [
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "p95"
},
"properties": [
{
"id": "unit",
"value": "s"
},
{
"id": "custom.width",
"value": 92
}
]
},
{
"matcher": {
"id": "byName",
"options": "testid"
},
"properties": [
{
"id": "custom.width",
"value": 132
}
]
},
{
"matcher": {
"id": "byName",
"options": "name"
},
"properties": [
{
"id": "custom.width"
}
]
},
{
"matcher": {
"id": "byName",
"options": "scenario"
},
"properties": [
{
"id": "custom.width",
"value": 283
}
]
},
{
"matcher": {
"id": "byName",
"options": "method"
},
"properties": [
{
"id": "custom.width",
"value": 90
}
]
},
{
"matcher": {
"id": "byName",
"options": "testid"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"match": "empty",
"result": {
"index": 0,
"text": "without testid"
}
},
"type": "special"
}
]
}
]
}
]
},
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 37
},
"id": 43,
"interval": "1",
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 1,
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "k6_http_reqs_total{testid=~\"$testid\"}",
"format": "table",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "histogram_quantile(0, sum by(name) (rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "histogram_quantile(0.5, sum by(name) (rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum by(name) (rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "histogram_quantile(1, sum by(name) (rate(k6_http_req_duration_seconds{testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "",
"range": true,
"refId": "B"
}
],
"title": "Requests by URL",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "groupBy",
"options": {
"fields": {
"Value": {
"aggregations": [
"min",
"max"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #E": {
"aggregations": [],
"operation": "aggregate"
},
"Value #F": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"method": {
"aggregations": [],
"operation": "groupby"
},
"name": {
"aggregations": [],
"operation": "groupby"
},
"scenario": {
"aggregations": [],
"operation": "groupby"
},
"status": {
"aggregations": [],
"operation": "groupby"
},
"testid": {
"aggregations": [],
"operation": "groupby"
},
"tls_version": {
"aggregations": []
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Value #A (lastNotNull)": 5,
"Value #C (lastNotNull)": 6,
"Value #D (lastNotNull)": 7,
"method": 3,
"name": 1,
"scenario": 2,
"status": 4,
"testid": 0
},
"renameByName": {
"Value": "",
"Value #A (lastNotNull)": "count",
"Value #B (lastNotNull)": "max",
"Value #B (min)": "min",
"Value #C (lastNotNull)": "min ",
"Value #C (mean)": "",
"Value #D (lastNotNull)": "mean",
"Value #E (max)": "max",
"Value #F (lastNotNull)": "p95"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "count"
}
],
"match": "any",
"type": "exclude"
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "opacity",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"log": 10,
"type": "log"
},
"showPoints": "never",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 46
},
"id": 41,
"interval": "1s",
"options": {
"legend": {
"calcs": [
"lastNotNull"
],
"displayMode": "table",
"placement": "right",
"showLegend": true,
"sortBy": "Last *",
"sortDesc": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "8.5.3",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_blocked_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_blocked_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Blocked - {{testid}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_connecting_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_connecting_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Connecting - {{testid}}",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_duration_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_duration_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Duration - {{testid}}",
"range": true,
"refId": "G"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_receiving_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_receiving_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Receiving - {{testid}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_sending_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_sending_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Sending - {{testid}}",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_tls_handshaking_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_tls_handshaking_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "TLS Handshaking - {{testid}}",
"range": true,
"refId": "F"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "avg by(testid)(histogram_sum(rate(k6_http_req_waiting_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_waiting_seconds{testid=~\"$testid\", name=~\"$url\",scenario=~\"$scenario\"}[$__rate_interval])))",
"hide": false,
"interval": "",
"legendFormat": "Waiting - {{testid}}",
"range": true,
"refId": "B"
}
],
"title": "HTTP breakdown",
"transformations": [
{
"id": "renameByRegex",
"options": {
"regex": "/(.* -) $/",
"renamePattern": "$1 without testid"
}
}
],
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [
{
"options": {
"result": {
"index": 0,
"text": "without testid"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Request Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
},
{
"matcher": {
"id": "byName",
"options": "P95 Response Time(AVG)"
},
"properties": [
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "RPS(AVG)"
},
"properties": [
{
"id": "unit",
"value": "reqps"
}
]
},
{
"matcher": {
"id": "byName",
"options": "testid"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"match": "empty",
"result": {
"index": 0,
"text": "without testid"
}
},
"type": "special"
}
]
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 57
},
"id": 54,
"interval": "5s",
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 1,
"showHeader": true
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum by(testid)(rate(k6_http_req_duration_seconds{scenario=~\"$scenario\", expected_response=\"true\", testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by(scenario) (max(k6_http_reqs_total{testid=~\"$testid\", scenario=~\"$scenario\"}))",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "avg by(scenario) (sum(irate(k6_http_reqs_total{testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by(scenario) (k6_iterations_total{testid=~\"$testid\",scenario=~\"$scenario\"})",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by(scenario) ( k6_http_reqs_total{testid=~\"$testid\",scenario=~\"$scenario\",expected_response=\"false\"})\n",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Scenarios",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "groupBy",
"options": {
"fields": {
"Value": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #E": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #F": {
"aggregations": []
},
"expected_response": {
"aggregations": [],
"operation": "groupby"
},
"scenario": {
"aggregations": [],
"operation": "groupby"
},
"test_type": {
"aggregations": []
},
"testid": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Value #A (lastNotNull)": 5,
"Value #B (lastNotNull)": 4,
"Value #C (lastNotNull)": 6,
"Value #D (lastNotNull)": 2,
"Value #E (lastNotNull)": 3,
"scenario": 1,
"testid": 0
},
"renameByName": {
"Value #A (lastNotNull)": "P95 Response Time(AVG)",
"Value #B (lastNotNull)": "Failed Request Count",
"Value #C (lastNotNull)": "RPS(AVG)",
"Value #C (max)": "RPS(AVG)",
"Value #D (lastNotNull)": "Iterations",
"Value #E (lastNotNull)": "Request Count",
"Value (lastNotNull)": "Failed Request",
"scenario": "Scenario",
"testid": "TesID"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Request Count"
}
],
"match": "any",
"type": "exclude"
}
}
],
"type": "table"
},
{
"collapsed": true,
"datasource": {
"uid": "prometheus"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 64
},
"id": 35,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"fieldConfig": {
"defaults": {
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Request Count"
},
"properties": [
{
"id": "unit",
"value": "none"
}
]
},
{
"matcher": {
"id": "byName",
"options": "P95 Response Time(AVG)"
},
"properties": [
{
"id": "unit",
"value": "s"
}
]
},
{
"matcher": {
"id": "byName",
"options": "RPS(AVG)"
},
"properties": [
{
"id": "unit",
"value": "reqps"
}
]
},
{
"matcher": {
"id": "byName",
"options": "TestID"
},
"properties": [
{
"id": "mappings",
"value": [
{
"options": {
"match": "empty",
"result": {
"index": 0,
"text": "without testid"
}
},
"type": "special"
}
]
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 24,
"x": 0,
"y": 65
},
"id": 116,
"interval": "5s",
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 1,
"showHeader": true
},
"pluginVersion": "9.3.2",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "histogram_quantile(0.95, sum by(testid)(rate(k6_http_req_duration_seconds{scenario=~\"$scenario\", expected_response=\"true\", testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by(scenario) (max(k6_http_reqs_total{testid=~\"$testid\", scenario=~\"$scenario\"}))",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "E"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "avg by(scenario) (sum(irate(k6_http_reqs_total{testid=~\"$testid\"}[$__rate_interval])))",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by(scenario) (k6_iterations_total{testid=~\"$testid\",scenario=~\"$scenario\"})",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"expr": "sum by(scenario) ( k6_http_reqs_total{testid=~\"$testid\",scenario=~\"$scenario\",expected_response=\"false\"})\n",
"format": "table",
"hide": false,
"legendFormat": "__auto",
"range": true,
"refId": "B"
}
],
"title": "Scenarios",
"transformations": [
{
"id": "merge",
"options": {}
},
{
"id": "groupBy",
"options": {
"fields": {
"Value": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #A": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #B": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #C": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #D": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #E": {
"aggregations": [
"lastNotNull"
],
"operation": "aggregate"
},
"Value #F": {
"aggregations": []
},
"expected_response": {
"aggregations": [],
"operation": "groupby"
},
"scenario": {
"aggregations": [],
"operation": "groupby"
},
"test_type": {
"aggregations": []
},
"testid": {
"aggregations": [],
"operation": "groupby"
}
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {
"Value #A (lastNotNull)": 5,
"Value #B (lastNotNull)": 4,
"Value #C (lastNotNull)": 6,
"Value #D (lastNotNull)": 2,
"Value #E (lastNotNull)": 3,
"scenario": 1,
"testid": 0
},
"renameByName": {
"Value #A (lastNotNull)": "P95 Response Time(AVG)",
"Value #B (lastNotNull)": "Failed Request Count",
"Value #C (lastNotNull)": "RPS(AVG)",
"Value #C (max)": "RPS(AVG)",
"Value #D (lastNotNull)": "Iterations",
"Value #E (lastNotNull)": "Request Count",
"Value (lastNotNull)": "Failed Request",
"scenario": "Scenario",
"testid": "TestID"
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNull",
"options": {}
},
"fieldName": "Request Count"
}
],
"match": "all",
"type": "exclude"
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisGridShow": false,
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Response Time (avg) - "
},
"properties": [
{
"id": "displayName",
"value": "Response Time (avg) - without testid"
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "A"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "left"
},
{
"id": "color",
"value": {
"mode": "fixed"
}
},
{
"id": "custom.axisLabel",
"value": "VUs"
},
{
"id": "custom.scaleDistribution",
"value": {
"log": 10,
"type": "log"
}
},
{
"id": "custom.showPoints",
"value": "never"
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "B"
},
"properties": [
{
"id": "custom.lineStyle",
"value": {
"dash": [
10,
10
],
"fill": "dash"
}
},
{
"id": "color",
"value": {
"fixedColor": "orange",
"mode": "fixed"
}
},
{
"id": "custom.axisLabel",
"value": "RPS"
},
{
"id": "custom.lineWidth",
"value": 3
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "D"
},
"properties": [
{
"id": "color",
"value": {
"fixedColor": "red",
"mode": "fixed"
}
},
{
"id": "custom.lineWidth",
"value": 5
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisPlacement",
"value": "hidden"
},
{
"id": "decimals",
"value": 0
}
]
},
{
"matcher": {
"id": "byFrameRefID",
"options": "C"
},
"properties": [
{
"id": "custom.axisPlacement",
"value": "right"
},
{
"id": "color",
"value": {
"fixedColor": "green",
"mode": "fixed"
}
},
{
"id": "unit",
"value": "s"
},
{
"id": "custom.fillOpacity",
"value": 18
},
{
"id": "custom.lineInterpolation",
"value": "smooth"
},
{
"id": "custom.axisLabel",
"value": "Response Time"
},
{
"id": "decimals",
"value": 2
}
]
},
{
"matcher": {
"id": "byName",
"options": "Active VUs - "
},
"properties": [
{
"id": "displayName",
"value": "Active VUs - without testid"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Requests Rate - "
},
"properties": [
{
"id": "displayName",
"value": "Requests Rate - without testid"
}
]
},
{
"matcher": {
"id": "byName",
"options": "Failed Requests Rate - "
},
"properties": [
{
"id": "displayName",
"value": "Failed Requests Rate - without testid"
}
]
}
]
},
"gridPos": {
"h": 13,
"w": 24,
"x": 0,
"y": 72
},
"id": 117,
"interval": "5",
"options": {
"legend": {
"calcs": [
"min",
"mean",
"max",
"lastNotNull"
],
"displayMode": "table",
"placement": "bottom",
"showLegend": true
},
"timezones": [
"browser"
],
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "k6_vus{testid=~\"$testid\"}",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Active VUs - {{testid}}",
"range": true,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": true,
"expr": "sum by(testid) (rate(k6_http_reqs_total{testid=~\"$testid\",scenario=~\"$scenario\"}[$__rate_interval]))",
"format": "time_series",
"hide": false,
"instant": false,
"interval": "",
"legendFormat": "Requests Rate - {{testid}}",
"range": true,
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "avg by(testid) (sum by(testid) (rate(k6_http_reqs_total{testid=~\"$testid\",scenario=~\"$scenario\", expected_response=\"false\"}[$__rate_interval])))",
"hide": false,
"instant": false,
"legendFormat": "Failed Requests Rate - {{testid}}",
"range": true,
"refId": "D"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"editorMode": "code",
"exemplar": false,
"expr": "(histogram_sum(rate(k6_http_req_duration_seconds{testid=~\"$testid\",scenario=~\"$scenario\"}[$__rate_interval]))\n/\nhistogram_count(rate(k6_http_req_duration_seconds{testid=~\"$testid\",scenario=~\"$scenario\"}[$__rate_interval]))) ",
"hide": false,
"legendFormat": "Response Time (avg) - {{testid}} - {{scenario}} - {{name}}",
"range": true,
"refId": "C"
}
],
"type": "timeseries"
}
],
"repeat": "scenario",
"repeatDirection": "h",
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"refId": "A"
}
],
"title": "Scenario level metrics $testid $scenario",
"type": "row"
}
],
"refresh": "10s",
"schemaVersion": 37,
"style": "dark",
"tags": [
"prometheus",
"k6"
],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": "Prometheus",
"value": "Prometheus"
},
"hide": 0,
"includeAll": false,
"multi": false,
"name": "DS_PROMETHEUS",
"options": [],
"query": "prometheus",
"queryValue": "",
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"type": "datasource"
},
{
"allValue": ".*",
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(testid)",
"hide": 0,
"includeAll": true,
"multi": true,
"name": "testid",
"options": [],
"query": {
"query": "label_values(testid)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 3,
"type": "query"
},
{
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(scenario)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "scenario",
"options": [],
"query": {
"query": "label_values(scenario)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"allValue": "http.*",
"current": {
"selected": false,
"text": "All",
"value": "$__all"
},
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(url)",
"hide": 0,
"includeAll": true,
"multi": false,
"name": "url",
"options": [],
"query": {
"query": "label_values(url)",
"refId": "StandardVariableQuery"
},
"refresh": 2,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
},
{
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"filters": [],
"hide": 0,
"name": "Filters",
"skipUrlSync": false,
"type": "adhoc"
},
{
"current": {
"selected": false,
"text": "k6_http_req_waiting_seconds",
"value": "k6_http_req_waiting_seconds"
},
"description": "Metrics for apdex",
"hide": 0,
"includeAll": false,
"multi": false,
"name": "metrics",
"options": [
{
"selected": true,
"text": "k6_http_req_waiting_seconds",
"value": "k6_http_req_waiting_seconds"
},
{
"selected": false,
"text": "k6_http_req_duration_seconds",
"value": "k6_http_req_duration_seconds"
}
],
"query": "k6_http_req_waiting_seconds, k6_http_req_duration_seconds",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-5m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Test Result",
"uid": "01npcT44k",
"version": 1,
"weekStart": ""
}