Hi,
Problem:
I am using nodejs agent for APM server with the reference link:
"https://www.elastic.co/guide/en/apm/agent/js-base/current/getting-started.html"
Problem description:
From the above reference link, it was a single line snippet to initiate the agent.
var apm = initApm({serviceName: 'my-web-app',serverUrl: 'http://apm_server_ip:8200',serviceVersion: ''})
I could not find any output for this. So, debugged the output of the variable "apm" from browser console debugger. Below is the error details found from the object's response.
Am I doing anything wrong?
Please help me solve this issue.
Exception details (taken from browser console debug result):
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
at Function.invokeGetter (:2:14)
at SafeSubscriber._next (http://localhost:4200/main.bundle.js:142:13)
at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.__tryOrUnsub (http://localhost:4200/vendor.bundle.js:63625:16)
at SafeSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.SafeSubscriber.next (http://localhost:4200/vendor.bundle.js:63572:22)
at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber._next (http://localhost:4200/vendor.bundle.js:63512:26)
at Subscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber.next (http://localhost:4200/vendor.bundle.js:63476:18)
at MapSubscriber.webpackJsonp.../../../../rxjs/operator/map.js.MapSubscriber._next (http://localhost:4200/vendor.bundle.js:74061:26)
at MapSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber.next (http://localhost:4200/vendor.bundle.js:63476:18)
at FilterSubscriber.webpackJsonp.../../../../rxjs/operator/filter.js.FilterSubscriber._next (http://localhost:4200/vendor.bundle.js:73062:30)
at FilterSubscriber.webpackJsonp.../../../../rxjs/Subscriber.js.Subscriber.next (http://localhost:4200/vendor.bundle.js:63476:18)