Splunk AppDynamics

Using ADRUM in a Web Worker

CommunityUser
Splunk Employee
Splunk Employee

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);
 
 
Labels (1)
0 Karma

Mohammed_Rayan
Contributor

Abhinav,

Let me check  and get back to you on this.

Regards,

Mohammed Rayan

0 Karma

Mohammed_Rayan
Contributor

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

0 Karma
Get Updates on the Splunk Community!

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...

From Alert to Resolution: How Splunk Observability Helps SREs Navigate Critical ...

It's 3:17 AM, and your phone buzzes with an urgent alert. Wire transfer processing times have spiked, and ...