Distributed Tracing - need to update agent to version 1153 or higher?
Question

HI. I am very new to NewRelic. I created my app, and copied the appid and license key. Data has started flowing through.

However, I went to Application Settings, and selected Distributed Tracing.

And then I choose "Distributed Tracing" on the left side bar and it gave the error

This entity is currently running version 1130 of the Browser agent. To use distributed tracing, you need to update your agent(s) to version 1153 or higher and enable the configuration.


Is "Distributed Tracing" supported?
Are there any plans to support it?

Hi Alan,

The distributed caching of NewRelic needs the newer version. The older agent is not supported.


Regards,

Swatantra

Hi. Is anyone able to assist?

How is the NewRelicScript_Full_1130 js file updated?

Hi. I can see the forge component has two javascript files.

NewRelicScript_Full_1130
nr_spa_1130

How do I create an updated version of the NewRelicScript_Full_1130 script?

I'm following the instructions from: https://docs.newrelic.com/docs/browser/new-relic-browser/installation/update-browser-agent#checking   for how to update the agent.

The 2nd one (nr_spa_1130) is easy to update. I simply need to download from:

http://js-agent.newrelic.com/nr-spa-1184.js

where 1184 is the version number of the updated agent. But how do I find the updated version of the first script NewRelicScript_Full_1130.

But how should I update NewRelicScript_Full_1130? 

Should I use:   https://js-agent.newrelic.com/nr-loader-full-1184.js ?

I compared nr-loader-full-1130.js with the forge script NewRelicScript_Full_1130 and they have quite a few differences.

Please advise. Thanks

Hi Alan,

Did you manage to upgrade your newrelicscript_full_1130 to the latest version? we are facing the same challenge too.

Regards,
Nikkoli Castilan


Hi, 

I hit the same issue and here is the fix (its not fully tested yet)

1) Create a new JS as shown below.

for example get version 1209 from https://js-agent.newrelic.com/nr-spa-1209.js


and add it to the above .

You can get a list of the JS releases here 

https://docs.newrelic.com/docs/release-notes/new-relic-browser-release-notes/browser-agent-release-notes/

2)  open NewRelicScript_Full_1130.JS 

Go to line 1952 (around that line)


Change the agent to the new JS version you just added in step 1

Testing 

in the network tab you show see 


And in the console you should be able to browse the 'Distributed tracing'

Please test your solution thoroughly.

Hope it helps. 

Harry 




Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.