Seed RUM agent with Distributed Tracing config options
watson opened this issue · 2 comments
watson commented
Seed RUM agent with Distributed Tracing config options
Qard commented
I don't think this is currently possible, as opbeans-frontend is statically rendered and provides no way to pass the appropriate settings in. There's currently a hack with rum-config.js to set serviceName, serviceVersion and serverUrl, but those are the only settings hard-coded into the opbeans-frontend code. Also, there's the problem of that coming from a request to rum-config.js, not the page itself, therefore even if we could provide other properties that way, it would point to the wrong transaction.
watson commented
You can see how opbeans-ruby project have done it here: elastic/opbeans-ruby@7267634