apm-agent-nodejs
apm-agent-nodejs copied to clipboard
Elastic APM Node.js Agent
**Describe the bug** Data ingestion from APM agent not working on express application when using the latest release of the agent module for Node. **To Reproduce** Steps to reproduce the...
**Describe the bug** When sending an SQS event from a Lambda function with the `traceparent` message attribute, the downstream service appears in the "Incoming Links" section of the span links,...
The APM Node.js agent adds two labels to all exported metrics, e.g.: ``` "hostname": "pink.local", "env": "development" ``` These end up in the Elasticsearch documents as `labels.hostname` and `labels.env`. These...
``try { throw new Error('Method not allowed'); }catch(err) { apm.captureError(err); res.send(500).json({message: err.message}); }`` Let's assume a scenario as above. In this scenario, there will be two errors logged in to...
The APM agent collects some runtime metrics. Event loop delay is one of them. When it's possible, the APM agent relies on the nodejs built-in functionality - [perf_hooks.monitorEventLoopDelay](https://nodejs.org/docs/latest-v16.x/api/perf_hooks.html#perf_hooksmonitoreventloopdelayoptions) method reporting...
There are a few config vars that support a time/duration as a string of the form ``, e.g. "10s" to mean 10 seconds. The supported units are "m" for minutes,...
There is a bug in interaction between span compression (after https://github.com/elastic/apm-agent-nodejs/pull/2656 goes in) and `transactionMaxSpans`. In the following example we make 600 mysql spans which, I believe, we'd expect to...
Currently we support up to [email protected]. Later releases are: ``` "0.21.17": "2021-01-30T17:52:34.163Z", ... "0.21.19": "2021-03-02T21:45:35.889Z", "0.95.0": "2021-03-03T19:52:52.203Z", ... "0.95.15": "2021-12-21T23:04:50.109Z", "1.0.0": "2022-01-16T00:46:30.704Z", "1.0.1": "2022-01-16T00:54:35.937Z", "1.0.2": "2022-02-01T22:05:19.238Z", "1.0.3": "2022-02-10T22:35:35.059Z", "1.0.4": "2022-03-13T14:00:35.510Z",...
**Describe the bug** Using https://github.com/fastify/fastify-cli generator, the server is starting with the start script on package.json and the app is loaded as a plugin (app.js). APM should be on the...
In a script of mine, where I heavily use use callbacks, seems to get an extremely high spike of calls of the function `destroy` in the `async-hooks` file. https://github.com/elastic/apm-agent-nodejs/blob/master/lib/instrumentation/async-hooks.js#L103 All...