RUM trace through iframe

I am trying to get the RUM JS agent to follow through iframes, and I am running into some difficulties.

As far as I can tell, RUM does not work by default on resources, so something like <iframe src="some/local/path"/> does not work (if there is an option I am missing that fixes that, the rest of this question is irrelevant).

What I then tried to do was create an XHR request for the some/local/path, and then use URL.createObjectURL for the src on the iframe. That works in the sense that RUM now picks up the request, and adds the headers, but the frame seems broken (doesn't seem to run any of the JS that is returned?).

What is the best way to do this? I don't have the ability to remove any of the framing, and all resources are on the same host.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.