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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...