Splunk AppDynamics

Add User Data - Event fired during ADRUM.report not on Virtual page creation.

CommunityUser
Splunk Employee
Splunk Employee

As per the documentation here it describes that The user Data for virtual page can be added when the virtual page is created  and the function  window['adrum-config'].userEventInfo.VPageView is triggered when the virtual page is created. However, the function seems to be firing when the method ADRUM.report is called. Also, the function utilizes the setTimeout with zero values which makes it difficult to use on synchronous actions. Could you please confirm the right behavior?

 

Add User Data

User data is added when certain events are triggered. You can choose to set user data for each or all of the following available events:

  • PageView - this event is triggered when the base page is loaded in the browser.
  • Ajax - this event is triggered when an Ajax call is made.
  • VPageView - this event is triggered when the virtual page is created. The virtual page is a dynamically recreated version of the base page."
Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

i had opened a support ticket for this issue.

Also, ADRUM.Report method calls the GetUser Data method with setTimeout with zero value which pushes the execution of the method to the next Event Loop which can be problematic in cases where we need to clear the UserData immediately after calling the ADRUM.Report method.

0 Karma

Mohammed_Rayan
Contributor

Abhinav,

Before we can confirm the correct behaviour on this, can you please share a HAR file captured from your instrumented page where you have added the user data stuff.

Regards,

Mohammed Rayan

0 Karma
Get Updates on the Splunk Community!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...