|
|
@ -16,10 +16,11 @@ |
|
|
"gnetId": null, |
|
|
"gnetId": null, |
|
|
"graphTooltip": 0, |
|
|
"graphTooltip": 0, |
|
|
"id": 4, |
|
|
"id": 4, |
|
|
"iteration": 1611744134911, |
|
|
"iteration": 1611931535002, |
|
|
"links": [], |
|
|
"links": [], |
|
|
"panels": [ |
|
|
"panels": [ |
|
|
{ |
|
|
{ |
|
|
|
|
|
"collapsed": false, |
|
|
"datasource": null, |
|
|
"datasource": null, |
|
|
"gridPos": { |
|
|
"gridPos": { |
|
|
"h": 1, |
|
|
"h": 1, |
|
|
@ -28,15 +29,21 @@ |
|
|
"y": 0 |
|
|
"y": 0 |
|
|
}, |
|
|
}, |
|
|
"id": 10, |
|
|
"id": 10, |
|
|
|
|
|
"panels": [], |
|
|
"title": "Global metrics", |
|
|
"title": "Global metrics", |
|
|
"type": "row" |
|
|
"type": "row" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"datasource": "Prometheus", |
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"description": "", |
|
|
"fieldConfig": { |
|
|
"fieldConfig": { |
|
|
"defaults": { |
|
|
"defaults": { |
|
|
"custom": {}, |
|
|
"custom": { |
|
|
|
|
|
"align": null, |
|
|
|
|
|
"filterable": false |
|
|
|
|
|
}, |
|
|
"mappings": [], |
|
|
"mappings": [], |
|
|
|
|
|
"min": 0, |
|
|
"thresholds": { |
|
|
"thresholds": { |
|
|
"mode": "absolute", |
|
|
"mode": "absolute", |
|
|
"steps": [ |
|
|
"steps": [ |
|
|
@ -73,9 +80,10 @@ |
|
|
"pluginVersion": "7.3.6", |
|
|
"pluginVersion": "7.3.6", |
|
|
"targets": [ |
|
|
"targets": [ |
|
|
{ |
|
|
{ |
|
|
"expr": "rate(k6_iterations[$__rate_interval])", |
|
|
"expr": "sum(rate(k6_iterations[$__rate_interval]))", |
|
|
|
|
|
"format": "time_series", |
|
|
"interval": "", |
|
|
"interval": "", |
|
|
"legendFormat": "", |
|
|
"legendFormat": "{{scenario}}", |
|
|
"queryType": "randomWalk", |
|
|
"queryType": "randomWalk", |
|
|
"refId": "A" |
|
|
"refId": "A" |
|
|
} |
|
|
} |
|
|
@ -83,6 +91,7 @@ |
|
|
"timeFrom": null, |
|
|
"timeFrom": null, |
|
|
"timeShift": null, |
|
|
"timeShift": null, |
|
|
"title": "Iterations per second", |
|
|
"title": "Iterations per second", |
|
|
|
|
|
"transformations": [], |
|
|
"type": "stat" |
|
|
"type": "stat" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
@ -92,6 +101,7 @@ |
|
|
"defaults": { |
|
|
"defaults": { |
|
|
"custom": {}, |
|
|
"custom": {}, |
|
|
"mappings": [], |
|
|
"mappings": [], |
|
|
|
|
|
"min": 0, |
|
|
"thresholds": { |
|
|
"thresholds": { |
|
|
"mode": "absolute", |
|
|
"mode": "absolute", |
|
|
"steps": [ |
|
|
"steps": [ |
|
|
@ -210,6 +220,7 @@ |
|
|
"defaults": { |
|
|
"defaults": { |
|
|
"custom": {}, |
|
|
"custom": {}, |
|
|
"mappings": [], |
|
|
"mappings": [], |
|
|
|
|
|
"min": 0, |
|
|
"thresholds": { |
|
|
"thresholds": { |
|
|
"mode": "absolute", |
|
|
"mode": "absolute", |
|
|
"steps": [ |
|
|
"steps": [ |
|
|
@ -313,7 +324,7 @@ |
|
|
"pluginVersion": "7.3.6", |
|
|
"pluginVersion": "7.3.6", |
|
|
"targets": [ |
|
|
"targets": [ |
|
|
{ |
|
|
{ |
|
|
"expr": "sum(k6_script_errors)", |
|
|
"expr": "sum(rate(k6_script_errors[$__rate_interval]))", |
|
|
"interval": "", |
|
|
"interval": "", |
|
|
"legendFormat": "Script errors", |
|
|
"legendFormat": "Script errors", |
|
|
"queryType": "randomWalk", |
|
|
"queryType": "randomWalk", |
|
|
@ -322,7 +333,7 @@ |
|
|
], |
|
|
], |
|
|
"timeFrom": null, |
|
|
"timeFrom": null, |
|
|
"timeShift": null, |
|
|
"timeShift": null, |
|
|
"title": "Errors (seen so far)", |
|
|
"title": "Errors", |
|
|
"type": "stat" |
|
|
"type": "stat" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
@ -340,8 +351,8 @@ |
|
|
"scopedVars": { |
|
|
"scopedVars": { |
|
|
"K6RequestName": { |
|
|
"K6RequestName": { |
|
|
"selected": true, |
|
|
"selected": true, |
|
|
"text": "tokeninfo", |
|
|
"text": "access-token-request", |
|
|
"value": "tokeninfo" |
|
|
"value": "access-token-request" |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"title": "K6 HTTP Request: ${K6RequestName}", |
|
|
"title": "K6 HTTP Request: ${K6RequestName}", |
|
|
@ -407,8 +418,8 @@ |
|
|
"scopedVars": { |
|
|
"scopedVars": { |
|
|
"K6RequestName": { |
|
|
"K6RequestName": { |
|
|
"selected": true, |
|
|
"selected": true, |
|
|
"text": "tokeninfo", |
|
|
"text": "access-token-request", |
|
|
"value": "tokeninfo" |
|
|
"value": "access-token-request" |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"seriesOverrides": [], |
|
|
"seriesOverrides": [], |
|
|
@ -448,7 +459,7 @@ |
|
|
"label": "", |
|
|
"label": "", |
|
|
"logBase": 1, |
|
|
"logBase": 1, |
|
|
"max": null, |
|
|
"max": null, |
|
|
"min": null, |
|
|
"min": "0", |
|
|
"show": true |
|
|
"show": true |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
@ -520,8 +531,8 @@ |
|
|
"scopedVars": { |
|
|
"scopedVars": { |
|
|
"K6RequestName": { |
|
|
"K6RequestName": { |
|
|
"selected": true, |
|
|
"selected": true, |
|
|
"text": "tokeninfo", |
|
|
"text": "access-token-request", |
|
|
"value": "tokeninfo" |
|
|
"value": "access-token-request" |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"targets": [ |
|
|
"targets": [ |
|
|
@ -570,6 +581,7 @@ |
|
|
"defaults": { |
|
|
"defaults": { |
|
|
"custom": {}, |
|
|
"custom": {}, |
|
|
"mappings": [], |
|
|
"mappings": [], |
|
|
|
|
|
"min": 0, |
|
|
"thresholds": { |
|
|
"thresholds": { |
|
|
"mode": "absolute", |
|
|
"mode": "absolute", |
|
|
"steps": [ |
|
|
"steps": [ |
|
|
@ -613,226 +625,6 @@ |
|
|
"textMode": "auto" |
|
|
"textMode": "auto" |
|
|
}, |
|
|
}, |
|
|
"pluginVersion": "7.3.6", |
|
|
"pluginVersion": "7.3.6", |
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "tokeninfo", |
|
|
|
|
|
"value": "tokeninfo" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"targets": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"expr": "1000*sum (rate(k6_http_${GoHttpMetricName}_sum{name=\"${K6RequestName}\"}[$__rate_interval]))/sum (rate(k6_http_${GoHttpMetricName}_count{name=\"${K6RequestName}\"}[$__rate_interval]))", |
|
|
|
|
|
"interval": "", |
|
|
|
|
|
"legendFormat": "{{status}}", |
|
|
|
|
|
"queryType": "randomWalk", |
|
|
|
|
|
"refId": "A" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"timeFrom": null, |
|
|
|
|
|
"timeShift": null, |
|
|
|
|
|
"title": "Mean latency (${GoHttpMetricName})", |
|
|
|
|
|
"type": "stat" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"collapsed": false, |
|
|
|
|
|
"datasource": null, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 1, |
|
|
|
|
|
"w": 24, |
|
|
|
|
|
"x": 0, |
|
|
|
|
|
"y": 16 |
|
|
|
|
|
}, |
|
|
|
|
|
"id": 26, |
|
|
|
|
|
"panels": [], |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 14, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "access-token-request", |
|
|
|
|
|
"value": "access-token-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"title": "K6 HTTP Request: ${K6RequestName}", |
|
|
|
|
|
"type": "row" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"aliasColors": {}, |
|
|
|
|
|
"bars": false, |
|
|
|
|
|
"dashLength": 10, |
|
|
|
|
|
"dashes": false, |
|
|
|
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"description": "", |
|
|
|
|
|
"fieldConfig": { |
|
|
|
|
|
"defaults": { |
|
|
|
|
|
"custom": {}, |
|
|
|
|
|
"mappings": [], |
|
|
|
|
|
"thresholds": { |
|
|
|
|
|
"mode": "absolute", |
|
|
|
|
|
"steps": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "green", |
|
|
|
|
|
"value": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "red", |
|
|
|
|
|
"value": 80 |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"overrides": [] |
|
|
|
|
|
}, |
|
|
|
|
|
"fill": 8, |
|
|
|
|
|
"fillGradient": 0, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 8, |
|
|
|
|
|
"w": 6, |
|
|
|
|
|
"x": 0, |
|
|
|
|
|
"y": 17 |
|
|
|
|
|
}, |
|
|
|
|
|
"hiddenSeries": false, |
|
|
|
|
|
"id": 27, |
|
|
|
|
|
"legend": { |
|
|
|
|
|
"avg": true, |
|
|
|
|
|
"current": false, |
|
|
|
|
|
"max": true, |
|
|
|
|
|
"min": true, |
|
|
|
|
|
"show": true, |
|
|
|
|
|
"total": false, |
|
|
|
|
|
"values": true |
|
|
|
|
|
}, |
|
|
|
|
|
"lines": true, |
|
|
|
|
|
"linewidth": 1, |
|
|
|
|
|
"nullPointMode": "null", |
|
|
|
|
|
"options": { |
|
|
|
|
|
"alertThreshold": false |
|
|
|
|
|
}, |
|
|
|
|
|
"percentage": false, |
|
|
|
|
|
"pluginVersion": "7.3.6", |
|
|
|
|
|
"pointradius": 2, |
|
|
|
|
|
"points": false, |
|
|
|
|
|
"renderer": "flot", |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 16, |
|
|
|
|
|
"repeatedByRow": true, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "access-token-request", |
|
|
|
|
|
"value": "access-token-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"seriesOverrides": [], |
|
|
|
|
|
"spaceLength": 10, |
|
|
|
|
|
"stack": true, |
|
|
|
|
|
"steppedLine": false, |
|
|
|
|
|
"targets": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"expr": "sum by (status) (rate(k6_http_reqs{name=\"${K6RequestName}\"}[$__rate_interval]))", |
|
|
|
|
|
"interval": "", |
|
|
|
|
|
"legendFormat": "HTTP {{status}}", |
|
|
|
|
|
"queryType": "randomWalk", |
|
|
|
|
|
"refId": "A" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"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": "short", |
|
|
|
|
|
"label": "", |
|
|
|
|
|
"logBase": 1, |
|
|
|
|
|
"max": null, |
|
|
|
|
|
"min": null, |
|
|
|
|
|
"show": true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"format": "short", |
|
|
|
|
|
"label": "", |
|
|
|
|
|
"logBase": 1, |
|
|
|
|
|
"max": null, |
|
|
|
|
|
"min": null, |
|
|
|
|
|
"show": true |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"yaxis": { |
|
|
|
|
|
"align": false, |
|
|
|
|
|
"alignLevel": null |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"cards": { |
|
|
|
|
|
"cardPadding": null, |
|
|
|
|
|
"cardRound": null |
|
|
|
|
|
}, |
|
|
|
|
|
"color": { |
|
|
|
|
|
"cardColor": "#F2495C", |
|
|
|
|
|
"colorScale": "linear", |
|
|
|
|
|
"colorScheme": "interpolateRdYlGn", |
|
|
|
|
|
"exponent": 0.5, |
|
|
|
|
|
"mode": "spectrum" |
|
|
|
|
|
}, |
|
|
|
|
|
"dataFormat": "tsbuckets", |
|
|
|
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"fieldConfig": { |
|
|
|
|
|
"defaults": { |
|
|
|
|
|
"custom": { |
|
|
|
|
|
"align": null, |
|
|
|
|
|
"filterable": false |
|
|
|
|
|
}, |
|
|
|
|
|
"mappings": [], |
|
|
|
|
|
"thresholds": { |
|
|
|
|
|
"mode": "absolute", |
|
|
|
|
|
"steps": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "green", |
|
|
|
|
|
"value": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "red", |
|
|
|
|
|
"value": 80 |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"overrides": [] |
|
|
|
|
|
}, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 8, |
|
|
|
|
|
"w": 12, |
|
|
|
|
|
"x": 6, |
|
|
|
|
|
"y": 17 |
|
|
|
|
|
}, |
|
|
|
|
|
"heatmap": {}, |
|
|
|
|
|
"hideZeroBuckets": false, |
|
|
|
|
|
"highlightCards": true, |
|
|
|
|
|
"id": 28, |
|
|
|
|
|
"legend": { |
|
|
|
|
|
"show": false |
|
|
|
|
|
}, |
|
|
|
|
|
"pluginVersion": "7.3.6", |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 20, |
|
|
|
|
|
"repeatedByRow": true, |
|
|
|
|
|
"reverseYBuckets": false, |
|
|
|
|
|
"scopedVars": { |
|
|
"scopedVars": { |
|
|
"K6RequestName": { |
|
|
"K6RequestName": { |
|
|
"selected": true, |
|
|
"selected": true, |
|
|
@ -840,424 +632,6 @@ |
|
|
"value": "access-token-request" |
|
|
"value": "access-token-request" |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
"targets": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"expr": "sum(rate(k6_http_${GoHttpMetricName}_bucket{name=\"${K6RequestName}\"}[$__rate_interval])) by (le)", |
|
|
|
|
|
"format": "heatmap", |
|
|
|
|
|
"instant": false, |
|
|
|
|
|
"interval": "", |
|
|
|
|
|
"intervalFactor": 2, |
|
|
|
|
|
"legendFormat": "{{le}}", |
|
|
|
|
|
"queryType": "randomWalk", |
|
|
|
|
|
"refId": "A" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"timeFrom": null, |
|
|
|
|
|
"timeShift": null, |
|
|
|
|
|
"title": "Latency (${GoHttpMetricName})", |
|
|
|
|
|
"tooltip": { |
|
|
|
|
|
"show": true, |
|
|
|
|
|
"showHistogram": false |
|
|
|
|
|
}, |
|
|
|
|
|
"tooltipDecimals": null, |
|
|
|
|
|
"type": "heatmap", |
|
|
|
|
|
"xAxis": { |
|
|
|
|
|
"show": true |
|
|
|
|
|
}, |
|
|
|
|
|
"xBucketNumber": null, |
|
|
|
|
|
"xBucketSize": null, |
|
|
|
|
|
"yAxis": { |
|
|
|
|
|
"decimals": null, |
|
|
|
|
|
"format": "short", |
|
|
|
|
|
"logBase": 10, |
|
|
|
|
|
"max": "10", |
|
|
|
|
|
"min": "0", |
|
|
|
|
|
"show": true, |
|
|
|
|
|
"splitFactor": null |
|
|
|
|
|
}, |
|
|
|
|
|
"yBucketBound": "auto", |
|
|
|
|
|
"yBucketNumber": null, |
|
|
|
|
|
"yBucketSize": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"description": "", |
|
|
|
|
|
"fieldConfig": { |
|
|
|
|
|
"defaults": { |
|
|
|
|
|
"custom": {}, |
|
|
|
|
|
"mappings": [], |
|
|
|
|
|
"thresholds": { |
|
|
|
|
|
"mode": "absolute", |
|
|
|
|
|
"steps": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "green", |
|
|
|
|
|
"value": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "#EAB839", |
|
|
|
|
|
"value": 100 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "dark-red", |
|
|
|
|
|
"value": 1000 |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
"unit": "ms" |
|
|
|
|
|
}, |
|
|
|
|
|
"overrides": [] |
|
|
|
|
|
}, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 8, |
|
|
|
|
|
"w": 4, |
|
|
|
|
|
"x": 18, |
|
|
|
|
|
"y": 17 |
|
|
|
|
|
}, |
|
|
|
|
|
"id": 29, |
|
|
|
|
|
"options": { |
|
|
|
|
|
"colorMode": "value", |
|
|
|
|
|
"graphMode": "area", |
|
|
|
|
|
"justifyMode": "auto", |
|
|
|
|
|
"orientation": "auto", |
|
|
|
|
|
"reduceOptions": { |
|
|
|
|
|
"calcs": [ |
|
|
|
|
|
"last" |
|
|
|
|
|
], |
|
|
|
|
|
"fields": "", |
|
|
|
|
|
"values": false |
|
|
|
|
|
}, |
|
|
|
|
|
"textMode": "auto" |
|
|
|
|
|
}, |
|
|
|
|
|
"pluginVersion": "7.3.6", |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 25, |
|
|
|
|
|
"repeatedByRow": true, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "access-token-request", |
|
|
|
|
|
"value": "access-token-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"targets": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"expr": "1000*sum (rate(k6_http_${GoHttpMetricName}_sum{name=\"${K6RequestName}\"}[$__rate_interval]))/sum (rate(k6_http_${GoHttpMetricName}_count{name=\"${K6RequestName}\"}[$__rate_interval]))", |
|
|
|
|
|
"interval": "", |
|
|
|
|
|
"legendFormat": "{{status}}", |
|
|
|
|
|
"queryType": "randomWalk", |
|
|
|
|
|
"refId": "A" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"timeFrom": null, |
|
|
|
|
|
"timeShift": null, |
|
|
|
|
|
"title": "Mean latency (${GoHttpMetricName})", |
|
|
|
|
|
"type": "stat" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"collapsed": false, |
|
|
|
|
|
"datasource": null, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 1, |
|
|
|
|
|
"w": 24, |
|
|
|
|
|
"x": 0, |
|
|
|
|
|
"y": 25 |
|
|
|
|
|
}, |
|
|
|
|
|
"id": 30, |
|
|
|
|
|
"panels": [], |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 14, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "authorization-request", |
|
|
|
|
|
"value": "authorization-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"title": "K6 HTTP Request: ${K6RequestName}", |
|
|
|
|
|
"type": "row" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"aliasColors": {}, |
|
|
|
|
|
"bars": false, |
|
|
|
|
|
"dashLength": 10, |
|
|
|
|
|
"dashes": false, |
|
|
|
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"description": "", |
|
|
|
|
|
"fieldConfig": { |
|
|
|
|
|
"defaults": { |
|
|
|
|
|
"custom": {}, |
|
|
|
|
|
"mappings": [], |
|
|
|
|
|
"thresholds": { |
|
|
|
|
|
"mode": "absolute", |
|
|
|
|
|
"steps": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "green", |
|
|
|
|
|
"value": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "red", |
|
|
|
|
|
"value": 80 |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"overrides": [] |
|
|
|
|
|
}, |
|
|
|
|
|
"fill": 8, |
|
|
|
|
|
"fillGradient": 0, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 8, |
|
|
|
|
|
"w": 6, |
|
|
|
|
|
"x": 0, |
|
|
|
|
|
"y": 26 |
|
|
|
|
|
}, |
|
|
|
|
|
"hiddenSeries": false, |
|
|
|
|
|
"id": 31, |
|
|
|
|
|
"legend": { |
|
|
|
|
|
"avg": true, |
|
|
|
|
|
"current": false, |
|
|
|
|
|
"max": true, |
|
|
|
|
|
"min": true, |
|
|
|
|
|
"show": true, |
|
|
|
|
|
"total": false, |
|
|
|
|
|
"values": true |
|
|
|
|
|
}, |
|
|
|
|
|
"lines": true, |
|
|
|
|
|
"linewidth": 1, |
|
|
|
|
|
"nullPointMode": "null", |
|
|
|
|
|
"options": { |
|
|
|
|
|
"alertThreshold": false |
|
|
|
|
|
}, |
|
|
|
|
|
"percentage": false, |
|
|
|
|
|
"pluginVersion": "7.3.6", |
|
|
|
|
|
"pointradius": 2, |
|
|
|
|
|
"points": false, |
|
|
|
|
|
"renderer": "flot", |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 16, |
|
|
|
|
|
"repeatedByRow": true, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "authorization-request", |
|
|
|
|
|
"value": "authorization-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"seriesOverrides": [], |
|
|
|
|
|
"spaceLength": 10, |
|
|
|
|
|
"stack": true, |
|
|
|
|
|
"steppedLine": false, |
|
|
|
|
|
"targets": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"expr": "sum by (status) (rate(k6_http_reqs{name=\"${K6RequestName}\"}[$__rate_interval]))", |
|
|
|
|
|
"interval": "", |
|
|
|
|
|
"legendFormat": "HTTP {{status}}", |
|
|
|
|
|
"queryType": "randomWalk", |
|
|
|
|
|
"refId": "A" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"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": "short", |
|
|
|
|
|
"label": "", |
|
|
|
|
|
"logBase": 1, |
|
|
|
|
|
"max": null, |
|
|
|
|
|
"min": null, |
|
|
|
|
|
"show": true |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"format": "short", |
|
|
|
|
|
"label": "", |
|
|
|
|
|
"logBase": 1, |
|
|
|
|
|
"max": null, |
|
|
|
|
|
"min": null, |
|
|
|
|
|
"show": true |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"yaxis": { |
|
|
|
|
|
"align": false, |
|
|
|
|
|
"alignLevel": null |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"cards": { |
|
|
|
|
|
"cardPadding": null, |
|
|
|
|
|
"cardRound": null |
|
|
|
|
|
}, |
|
|
|
|
|
"color": { |
|
|
|
|
|
"cardColor": "#F2495C", |
|
|
|
|
|
"colorScale": "linear", |
|
|
|
|
|
"colorScheme": "interpolateRdYlGn", |
|
|
|
|
|
"exponent": 0.5, |
|
|
|
|
|
"mode": "spectrum" |
|
|
|
|
|
}, |
|
|
|
|
|
"dataFormat": "tsbuckets", |
|
|
|
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"fieldConfig": { |
|
|
|
|
|
"defaults": { |
|
|
|
|
|
"custom": { |
|
|
|
|
|
"align": null, |
|
|
|
|
|
"filterable": false |
|
|
|
|
|
}, |
|
|
|
|
|
"mappings": [], |
|
|
|
|
|
"thresholds": { |
|
|
|
|
|
"mode": "absolute", |
|
|
|
|
|
"steps": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "green", |
|
|
|
|
|
"value": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "red", |
|
|
|
|
|
"value": 80 |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"overrides": [] |
|
|
|
|
|
}, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 8, |
|
|
|
|
|
"w": 12, |
|
|
|
|
|
"x": 6, |
|
|
|
|
|
"y": 26 |
|
|
|
|
|
}, |
|
|
|
|
|
"heatmap": {}, |
|
|
|
|
|
"hideZeroBuckets": false, |
|
|
|
|
|
"highlightCards": true, |
|
|
|
|
|
"id": 32, |
|
|
|
|
|
"legend": { |
|
|
|
|
|
"show": false |
|
|
|
|
|
}, |
|
|
|
|
|
"pluginVersion": "7.3.6", |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 20, |
|
|
|
|
|
"repeatedByRow": true, |
|
|
|
|
|
"reverseYBuckets": false, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "authorization-request", |
|
|
|
|
|
"value": "authorization-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"targets": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"expr": "sum(rate(k6_http_${GoHttpMetricName}_bucket{name=\"${K6RequestName}\"}[$__rate_interval])) by (le)", |
|
|
|
|
|
"format": "heatmap", |
|
|
|
|
|
"instant": false, |
|
|
|
|
|
"interval": "", |
|
|
|
|
|
"intervalFactor": 2, |
|
|
|
|
|
"legendFormat": "{{le}}", |
|
|
|
|
|
"queryType": "randomWalk", |
|
|
|
|
|
"refId": "A" |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
|
|
|
"timeFrom": null, |
|
|
|
|
|
"timeShift": null, |
|
|
|
|
|
"title": "Latency (${GoHttpMetricName})", |
|
|
|
|
|
"tooltip": { |
|
|
|
|
|
"show": true, |
|
|
|
|
|
"showHistogram": false |
|
|
|
|
|
}, |
|
|
|
|
|
"tooltipDecimals": null, |
|
|
|
|
|
"type": "heatmap", |
|
|
|
|
|
"xAxis": { |
|
|
|
|
|
"show": true |
|
|
|
|
|
}, |
|
|
|
|
|
"xBucketNumber": null, |
|
|
|
|
|
"xBucketSize": null, |
|
|
|
|
|
"yAxis": { |
|
|
|
|
|
"decimals": null, |
|
|
|
|
|
"format": "short", |
|
|
|
|
|
"logBase": 10, |
|
|
|
|
|
"max": "10", |
|
|
|
|
|
"min": "0", |
|
|
|
|
|
"show": true, |
|
|
|
|
|
"splitFactor": null |
|
|
|
|
|
}, |
|
|
|
|
|
"yBucketBound": "auto", |
|
|
|
|
|
"yBucketNumber": null, |
|
|
|
|
|
"yBucketSize": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"datasource": "Prometheus", |
|
|
|
|
|
"description": "", |
|
|
|
|
|
"fieldConfig": { |
|
|
|
|
|
"defaults": { |
|
|
|
|
|
"custom": {}, |
|
|
|
|
|
"mappings": [], |
|
|
|
|
|
"thresholds": { |
|
|
|
|
|
"mode": "absolute", |
|
|
|
|
|
"steps": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "green", |
|
|
|
|
|
"value": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "#EAB839", |
|
|
|
|
|
"value": 100 |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"color": "dark-red", |
|
|
|
|
|
"value": 1000 |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
"unit": "ms" |
|
|
|
|
|
}, |
|
|
|
|
|
"overrides": [] |
|
|
|
|
|
}, |
|
|
|
|
|
"gridPos": { |
|
|
|
|
|
"h": 8, |
|
|
|
|
|
"w": 4, |
|
|
|
|
|
"x": 18, |
|
|
|
|
|
"y": 26 |
|
|
|
|
|
}, |
|
|
|
|
|
"id": 33, |
|
|
|
|
|
"options": { |
|
|
|
|
|
"colorMode": "value", |
|
|
|
|
|
"graphMode": "area", |
|
|
|
|
|
"justifyMode": "auto", |
|
|
|
|
|
"orientation": "auto", |
|
|
|
|
|
"reduceOptions": { |
|
|
|
|
|
"calcs": [ |
|
|
|
|
|
"last" |
|
|
|
|
|
], |
|
|
|
|
|
"fields": "", |
|
|
|
|
|
"values": false |
|
|
|
|
|
}, |
|
|
|
|
|
"textMode": "auto" |
|
|
|
|
|
}, |
|
|
|
|
|
"pluginVersion": "7.3.6", |
|
|
|
|
|
"repeatIteration": 1611744134911, |
|
|
|
|
|
"repeatPanelId": 25, |
|
|
|
|
|
"repeatedByRow": true, |
|
|
|
|
|
"scopedVars": { |
|
|
|
|
|
"K6RequestName": { |
|
|
|
|
|
"selected": true, |
|
|
|
|
|
"text": "authorization-request", |
|
|
|
|
|
"value": "authorization-request" |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
"targets": [ |
|
|
"targets": [ |
|
|
{ |
|
|
{ |
|
|
"expr": "1000*sum (rate(k6_http_${GoHttpMetricName}_sum{name=\"${K6RequestName}\"}[$__rate_interval]))/sum (rate(k6_http_${GoHttpMetricName}_count{name=\"${K6RequestName}\"}[$__rate_interval]))", |
|
|
"expr": "1000*sum (rate(k6_http_${GoHttpMetricName}_sum{name=\"${K6RequestName}\"}[$__rate_interval]))/sum (rate(k6_http_${GoHttpMetricName}_count{name=\"${K6RequestName}\"}[$__rate_interval]))", |
|
|
@ -1273,7 +647,7 @@ |
|
|
"type": "stat" |
|
|
"type": "stat" |
|
|
} |
|
|
} |
|
|
], |
|
|
], |
|
|
"refresh": "", |
|
|
"refresh": "1s", |
|
|
"schemaVersion": 26, |
|
|
"schemaVersion": 26, |
|
|
"style": "dark", |
|
|
"style": "dark", |
|
|
"tags": [], |
|
|
"tags": [], |
|
|
@ -1285,14 +659,10 @@ |
|
|
"selected": true, |
|
|
"selected": true, |
|
|
"tags": [], |
|
|
"tags": [], |
|
|
"text": [ |
|
|
"text": [ |
|
|
"access-token-request", |
|
|
"access-token-request" |
|
|
"authorization-request", |
|
|
|
|
|
"tokeninfo" |
|
|
|
|
|
], |
|
|
], |
|
|
"value": [ |
|
|
"value": [ |
|
|
"access-token-request", |
|
|
"access-token-request" |
|
|
"authorization-request", |
|
|
|
|
|
"tokeninfo" |
|
|
|
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
"datasource": "Prometheus", |
|
|
"datasource": "Prometheus", |
|
|
@ -1373,7 +743,7 @@ |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
|
"time": { |
|
|
"time": { |
|
|
"from": "now-1m", |
|
|
"from": "now-2m", |
|
|
"to": "now" |
|
|
"to": "now" |
|
|
}, |
|
|
}, |
|
|
"timepicker": { |
|
|
"timepicker": { |
|
|
@ -1387,5 +757,5 @@ |
|
|
"timezone": "", |
|
|
"timezone": "", |
|
|
"title": "K6-StatsD-Prometheus", |
|
|
"title": "K6-StatsD-Prometheus", |
|
|
"uid": "zDpLnqaMz", |
|
|
"uid": "zDpLnqaMz", |
|
|
"version": 28 |
|
|
"version": 35 |
|
|
} |
|
|
} |