Splunk AppDynamics

error from adrum_latest.js

CommunityUser
Splunk Employee
Splunk Employee

Hi,

 I am trying to set up proper virtualPage tracking .. and I have some questions 🙂

according to this documentation, new page object should be created as:

ADRUM.events.VPageView({url:"anything"});

but it fails:

ADRUM.events.VPageView({url:"anything"})
adrum-latest.js:19 Uncaught TypeError: this.timestamp is not a function
    at Object.d [as EventTracker] (adrum-latest.js:19)
    at Object.b [as VPageView] (adrum-latest.js:57)
    at <anonymous>:1:14

we're using directly version linked from CDN, as you can see in the screenshot .. so maybe there is bug in latest version?

before we switched to the script from CDN, we used downloaded adrum.js file .. I see it had version 4.2.9.2, but current latest from CDN is 4.2.10.0 .. so I thought maybe there was some breaking change so I tried to get the 4.2.9.2 from CDN ..

according to this documentation it should at this url:

https://cdn.appdynamics.com/adrum/adrum-4.2.9.2.js

but it isn't .. so is adrum_latest.js safe for us?

thanks!

 J.

edit: it fails also for Ajax and Error initialization:

ADRUM.events.Error({msg:"custom triggered error"});
adrum-latest.js:19 Uncaught TypeError: this.timestamp is not a function
    at Object.d [as EventTracker] (adrum-latest.js:19)
    at Object.b [as Error] (adrum-latest.js:22)
    at <anonymous>:1:14
d @ adrum-latest.js:19
b @ adrum-latest.js:22
(anonymous) @ VM1785:1

ADRUM.events.Ajax({msg:"custom triggered error"});
adrum-latest.js:19 Uncaught TypeError: this.timestamp is not a function
    at Object.d [as EventTracker] (adrum-latest.js:19)
    at Object.e [as Ajax] (adrum-latest.js:37)
    at <anonymous>:1:14
d @ adrum-latest.js:19
e @ adrum-latest.js:37
(anonymous) @ VM1797:1
Labels (1)
0 Karma
1 Solution

Mayuresh_Kshirs
Path Finder

Hi Jakub,

For on-prem EUM we suggest using specific version of the adrum script. You can download it to your environment, or you can source it from the CDN like https://cdn.appdynamics.com/adrum/adrum-4.2.10.0.js.

https://cdn.appdynamics.com/adrum/adrum-latest.js is updated constantly and works best with EUM on SaaS which is always at the latest version.

Hope this helps.

Regards,

Mayuresh

View solution in original post

0 Karma

Mayuresh_Kshirs
Path Finder

Hi Jakub,

For on-prem EUM we suggest using specific version of the adrum script. You can download it to your environment, or you can source it from the CDN like https://cdn.appdynamics.com/adrum/adrum-4.2.10.0.js.

https://cdn.appdynamics.com/adrum/adrum-latest.js is updated constantly and works best with EUM on SaaS which is always at the latest version.

Hope this helps.

Regards,

Mayuresh

0 Karma

Mohammed_Rayan
Contributor

Jakub,

Looks like you have missed the new keyword

`ADRUM.events.VPageView({url:"anything"});` should be `new ADRUM.events.VPageView({url:"anything"});`

Regards,

Mohammed Rayan

CommunityUser
Splunk Employee
Splunk Employee

oh, sorry, that was stupid mistake 🙂

J.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

how about getting the concrete version from CDN? or you're not planning any breaking changes, so the adrum_latest should be fine at any time? or you have some adrum_4_latest link, assuming you're following semver versioning, so if any breaking change happens, it will be in the version 5+

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...