57
Views
0
Comments
[New Relic RUM] New Relic RUM(version SPA 1216) integration in OutSystems
new-relic-for-react
Reactive icon
Forge asset by Labs
Application Type
Reactive
Service Studio Version
11.53.9 (Build 61018)

Hi, 

I am trying to use 'New Relic' to monitor my Reactive app. I have downloaded the following component from the forge and its demo.

Forge Component(version 1.2.1) : https://www.outsystems.com/forge/component-documentation/6848/new-relic-rum/0

The above component uses New Relic agent 1130, I tried upgrading it to the latest version 1216 which was unsuccessful. I thought it will be just a matter of replacing the two latest JS scripts(NewRelicScript_Full_1130 & nr_spa_1130) which is not the case.

Then I came across the following question on the forum with a fix(event "os-loadscript" specific changes made in the script to work with OutSystems Reactive web apps) provided to upgrade to version 1210:

https://www.outsystems.com/forums/discussion/73368/new-relic-updated-version-1210/

The oap attached in the above link is working perfectly fine for agent 1210; I event tested the same for agent NR-1216. However, it is somehow not working for SPA 1216 agent.

I am using the following latest scripts in my app: 

NewRelicScript_Full : https://js-agent.newrelic.com/nr-loader-spa-current.js

NR-SPA : https://js-agent.newrelic.com/nr-spa-1216.js

In my app, I have updated the above scripts with "os-loadscript" event-specific changes which I've mentioned above but still, something somewhere is missing which prevents js errors & console errors from getting logged in New Relic. Surprisingly, page views & session traces and getting logged in New Relic correctly.

Any help in this would be greatly appreciated.

Thanks in advance.

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