From 3937c55ff09b0f48a1b7ada6e006c992d346ccfe Mon Sep 17 00:00:00 2001 From: mustafasahin0 Date: Mon, 4 Dec 2023 19:50:08 -0700 Subject: [PATCH 1/3] updated param from METRIC_NAME to METRIC_NAME1 --- .../markdown/translated-guides/en/02 Using k6/04 Thresholds.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md index e2fe89ceef..d6d23f12d8 100644 --- a/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md +++ b/src/data/markdown/translated-guides/en/02 Using k6/04 Thresholds.md @@ -90,7 +90,7 @@ To use a threshold, follow these steps: export const options = { thresholds: { //short format - METRIC_NAME: ["THRESHOLD_EXPRESSION", `...`], + METRIC_NAME1: ["THRESHOLD_EXPRESSION", `...`], //long format METRIC_NAME2: [ { From c31e1482a241244c597a5c0e64f11579566f68d9 Mon Sep 17 00:00:00 2001 From: mustafasahin0 Date: Mon, 4 Dec 2023 19:53:28 -0700 Subject: [PATCH 2/3] added changes to documentation as well --- docs/sources/next/using-k6/thresholds.md | 2 +- docs/sources/v0.47.x/using-k6/thresholds.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/next/using-k6/thresholds.md b/docs/sources/next/using-k6/thresholds.md index a2a444053e..3c1feed982 100644 --- a/docs/sources/next/using-k6/thresholds.md +++ b/docs/sources/next/using-k6/thresholds.md @@ -96,7 +96,7 @@ To use a threshold, follow these steps: export const options = { thresholds: { //short format - METRIC_NAME: ['THRESHOLD_EXPRESSION', `...`], + METRIC_NAME1: ['THRESHOLD_EXPRESSION', `...`], //long format METRIC_NAME2: [ { diff --git a/docs/sources/v0.47.x/using-k6/thresholds.md b/docs/sources/v0.47.x/using-k6/thresholds.md index a2a444053e..3c1feed982 100644 --- a/docs/sources/v0.47.x/using-k6/thresholds.md +++ b/docs/sources/v0.47.x/using-k6/thresholds.md @@ -96,7 +96,7 @@ To use a threshold, follow these steps: export const options = { thresholds: { //short format - METRIC_NAME: ['THRESHOLD_EXPRESSION', `...`], + METRIC_NAME1: ['THRESHOLD_EXPRESSION', `...`], //long format METRIC_NAME2: [ { From 8c210ee1ebcf292e02a8e1fe2f2a28b65d005d45 Mon Sep 17 00:00:00 2001 From: mustafasahin0 Date: Fri, 8 Dec 2023 11:57:59 -0700 Subject: [PATCH 3/3] changed param to metrix_name1 --- docs/sources/v0.48.x/using-k6/thresholds.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/v0.48.x/using-k6/thresholds.md b/docs/sources/v0.48.x/using-k6/thresholds.md index a2a444053e..3c1feed982 100644 --- a/docs/sources/v0.48.x/using-k6/thresholds.md +++ b/docs/sources/v0.48.x/using-k6/thresholds.md @@ -96,7 +96,7 @@ To use a threshold, follow these steps: export const options = { thresholds: { //short format - METRIC_NAME: ['THRESHOLD_EXPRESSION', `...`], + METRIC_NAME1: ['THRESHOLD_EXPRESSION', `...`], //long format METRIC_NAME2: [ {