-
Notifications
You must be signed in to change notification settings - Fork 6
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
Built In wss sessions is creating too many trends #33
Comments
Hi @mkadirtan Thanks for the feedback! You're right, and we have to introduce some workarounds for that. Let us come up with a decision on how to handle it better (aligning with the core grafana/k6 which has similar changes) and probably implement it |
Thanks for the reply, maybe we can use this issue to track progress |
Hi @olegbespalov |
Сan I help with the implementation of this functionality? If this is the right direction. Task doesn't look very difficult. |
Hey @konovalovsergey ! Thanks for offering the help! Let me quickly confirm with the team that this is the direction in which we want to evolve, and I (or anybody else from the core team) will get back to you! |
Hey @konovalovsergey ! I'm sorry for not getting back to you sooner. After an internal conversation, we concluded that the websockets tags (along with the other protocol tags like gRPC) should work the same way HTTP tags work. If the
So if you still want to contribute by implementing this functionality, feel free to do that 👍 |
@olegbespalov happy you guys came up with a decision on this one 🥳 . @konovalovsergey I hope you still want to implement this, but if you don't, please let me know, then I can have a look at it. But, of course, prefer you to do it 🙏 |
Hi, the built-in metrics for ws_session_duration_seconds etc. include the websocket url. Which is great, but it also includes the query parameters. I'm testing for a socket.io server and the query parameter include user token. That causes k6 to create as many histograms as there are different users. Is it possible to ignore query parameters for this? Maybe we can add this as an option to environment variable?
The text was updated successfully, but these errors were encountered: