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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...