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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...