Adding custom tags to RUM data

Hi. Is it possible to add custom headers to the data the RUM agent sends from the frontend application - for things like the name of a frontend test making a browser request, or the release version of the frontend application in which RUM is instrumented?

I would like to get that data as part of the span data to better track context of the spans created in Elastic. Wondering if this could provide trace-based testing without the need for a dedicated tool for that purpose.
Thanks!

Hey @Mike_Peterson, Welcome to the Elastic community. I think you can use setUserContext() or setCustomContext() to record the same. Let us know if that helps.

Thanks @ashishtiwari1993! I will check those out.