Closed fogone closed 3 years ago
Thanks for reporting this! We'd have to do a bit of code archeology to understand why the thresholds were emitted in the metrics and why they aren't anymore, but this seems like a very old regression... Did a quick test and k6 v0.20 lists the thresholds, but k6 v0.21.0 and subsequent version do not :confused:
And just to be clear, since (as far as I remember) k6 emits the "type": "Metric"
JSON values the first time a metric is emitted, you are only ever going to see a list with the defined thresholds for that metric, but it won't show whether the threshold passed or not. To show if a threshold is crossed or not would be a separate feature
/enhancement
task, more in line with https://github.com/loadimpact/k6/issues/355 or https://github.com/loadimpact/k6/issues/351.
I see, there's a regression on version 0.48/0.49
Hey @lightindigo, can you open a bug report issue, please?
Version
Test
Run
Json
Let's look at our
some-metric
line from prev file:So, as you can see, there is no threshold name in the "thresholds" array, as it described in the spec. I can't know that some thresholds was defined. It's really big problem when I need to analyze results, because I don't know were all thresholds passed or not.