Real User Monitoring
User session monitoring, key user actions - everything RUM.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RUM on Web workers

TengHong
Newcomer

Hi I have a web application that uses Web worker for its backend logic and from to to time the Web worker will perform xhr / fetch request for some resource files from the server based on user's actions.
I notice that RUM captures only the main page's interaction/request but not from the web workers. Is there a way for us to capture the xhr /fetch request that is triggered from the web worker?  

1 REPLY 1

KiranSomanatti
Dynatrace Helper
Dynatrace Helper

If the page uses webworkers, the JS agent will not be able to track the request because it happens in a completely different context and is absolutely invisible to the JS agent.

Perform the action and check the Network Tab.

Requests in a webworker are indicated with a small cogwheel:

KiranSomanatti_1-1770812934078.png

 

Featured Posts