cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using ADRUM in a Web Worker

Anonymous
Not applicable

is it safe to use the ADRUM methods in a web worker ?

 

Since web workers can't reference DOM, is it safe to use the following code for Creating the virtual pages and Reporting the data to the EUM cloud inside of a web worker?

 

var vPageView = new ADRUM.events.VPageView({
});
  
vPageView.start();
vPageView.end();
 
ADRUM.report(vPageView);
 
 
2 REPLIES 2

Mohammed.Rayan
AppDynamics Team

Abhinav,

Let me check  and get back to you on this.

 

Regards,

Mohammed Rayan



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Abhinav,

 

 As the code can be executed safely and data can be reported to cloud. So, it would be fine calling these in Web Workers too.

 

Regards,

Mohammed Rayan



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Ask the Experts Session: Hybrid Application Monitoring Deployment

Join us on Feb 26 to explore Splunk AppDynamics deployment strategies, SaaS models, agent rollout plans, and expert best practices.


Register Now

Observe and Explore
Dive into our Community Blog for the Latest Insights and Updates!


Read the blog here
Top Kudoed Authors