Is there any way to modify VU Context

The setup that I’m currently working on was built on top of a Fork of k6 so that we could support custom instrumentation regarding tracing.

K6 http methods were all changed in order to generate spans and propagate it with the request.

The issue I’m facing now is that other teams have developed different xk6 modules and they want to integrate tracing with it.

My initial idea was to use VU context to propagate data and use it in those modules, but I did not find a way to change VU context.

Is it possible?
If not, what would be the alternatives to propagate it?

Hi @luizgribeiro :wave:

It’s currently not possible, although we have some ideas of how to address that internally, there’s currently not ETA on it.

In the meantime, if using xk6 is indeed an option for you, take a look at xk6-kv, which could cater to your needs, with the caveat that it’s not performance focused :bowing_man: