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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

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 ...