Thank you for your response,
I'm not using @elastic/apm-rum-angular
only apm-rum-core
as there is no support for AngularJS framework
Only use this package if you want to implement integration for a framework that Elastic APM does not support yet.
And npm i @elastic/apm-rum
is giving me a loader error which doesn't exist normally
ERROR in ./src/sass/app.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/lib/loader.js!./src/sass/app.scss)