Tidy up formatting of perf scenarios

This commit is contained in:
Tam Mullen 2022-12-24 01:53:23 +00:00
parent 0e6d7e9a40
commit 06e6397dd1
4 changed files with 174 additions and 170 deletions

View File

@ -84,6 +84,7 @@ export const options = {
}, },
thresholds: { thresholds: {
checks: [ 'rate==1' ], checks: [ 'rate==1' ],
// Listing individual metrics due to https://github.com/grafana/k6/issues/1321
'http_req_duration{name:Shopper - Site Root}': [ 'http_req_duration{name:Shopper - Site Root}': [
`${ shopper_request_threshold }`, `${ shopper_request_threshold }`,
], ],

View File

@ -85,6 +85,7 @@ export const options = {
}, },
thresholds: { thresholds: {
checks: [ 'rate==1' ], checks: [ 'rate==1' ],
// Listing individual metrics due to https://github.com/grafana/k6/issues/1321
'http_req_duration{name:Shopper - Site Root}': [ 'http_req_duration{name:Shopper - Site Root}': [
`${ shopper_request_threshold }`, `${ shopper_request_threshold }`,
], ],

View File

@ -88,6 +88,7 @@ export const options = {
}, },
thresholds: { thresholds: {
checks: [ 'rate==1' ], checks: [ 'rate==1' ],
// Listing individual metrics due to https://github.com/grafana/k6/issues/1321
'http_req_duration{name:Shopper - Site Root}': [ 'http_req_duration{name:Shopper - Site Root}': [
`${ shopper_request_threshold }`, `${ shopper_request_threshold }`,
], ],

View File

@ -118,6 +118,7 @@ export const options = {
}, },
}, },
thresholds: { thresholds: {
// Listing individual metrics due to https://github.com/grafana/k6/issues/1321
'http_req_duration{name:Shopper - Site Root}': [ 'http_req_duration{name:Shopper - Site Root}': [
`${ shopper_request_threshold }`, `${ shopper_request_threshold }`,
], ],