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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...