You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
k6 v0.38.3 is a patch release containing a single fix
2
+
3
+
### Threshold over already defined sub-metrics will result in an error ([#2538](https://github.com/grafana/k6/issues/2538))
4
+
5
+
There was a bug where we were checking if a submetric had already been added. Unfortunately, we didn't check that this will work with the one submetric we have by default `http_req_duration{expected_response:true}`. After v0.38.0 defining a threshold on it would result in an error.
6
+
7
+
As this definitely shouldn't happen in that case and we don't see a particular case where that will be problematic - adding a submetric again just reuses the already added one instead.
8
+
9
+
This issue has been addressed in [#2539](https://github.com/grafana/k6/pull/2539), and k6 `v0.38.3` will now lead you add a threshold on `http_req_duration{expected_response:true}`.
0 commit comments