I'm trying to setup newrelic in my application using angular6 but I'm getting below error
"Cannot find name 'newrelic'". I included newrelic js file into index.html and I called 'newrelic.setCustomAttribute('useId',this.userId) on app.component.ts file
It is not recognize newrelic in angular.Please help me where I can include this newrelic file or setup steps
Try to follow this:
https://docs.newrelic.com/docs/agents/nodejs-agent/installation-configuration/install-nodejs-agent/
The following has also all the information about the compatibility. https://docs.newrelic.com/docs/agents/nodejs-agent/getting-started/compatibility-requirements-nodejs-agent/