-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix: tagset json buffer content #4641
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
Fix: tagset json buffer content #4641
Conversation
7bae65a
to
3cccf05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution 🙇
Looking at the code I see what the problem is, but can't figure out how have we not hit this earlier for the last 3 years. I also can not reproduce it locally :(
Do I understand correctly that you produced this, just by using -o json
?
I produced it when wrote plugin for xk6 and needed some debug output for samples, not sure that is the thing with |
Co-authored-by: Mihail Stoykov <312246+mstoykov@users.noreply.github.com>
Looked into it more and the json output doesn't use this at all. I guess this was only used for the old cloud output, and I guess it had bugs then as well 🤦 Given the current lack of usage, I wonder if we should be going through the trouble of using easyjson for htis at all 🤔 cc @grafana/k6-core |
What?
Fix easyjson behaviour when buffer grows
Why?
Tried to output samples as json and it failed
Checklist
make check
) and all pass.Checklist: Documentation (only for k6 maintainers and if relevant)
Please do not merge this PR until the following items are filled out.
Related PR(s)/Issue(s)