-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON output format doesn't include thresholds #1052
Comments
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 😕 And just to be clear, since (as far as I remember) k6 emits the |
The JSON Output implements WithThresholds so the Engine can set the thresholds invoking SetThresholds. The flush logic sets the Metric's Thresholds to write them in the json output. Closes #1052
I see, there's a regression on version 0.48/0.49 |
Hey @lightindigo, |
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.
The text was updated successfully, but these errors were encountered: