apm-agent-nodejs
apm-agent-nodejs copied to clipboard
Elastic APM Node.js Agent
As described in https://github.com/elastic/apm/issues/448, the agent needs to apply the following changes to comply with the current SPEC for destination fields: - [ ] Infer destination.service.resource based on other fields...
Repro details: https://github.com/elastic/kibana/issues/118560 This required (gleaned from some [private chat](https://elastic.slack.com/archives/C5G0S6QD7/p1637181574174300)) having APM enabled in Kibana with `captureSpanStackTraces: true`. That was accidentally set to true because the `serverUrl` was customized plus...
### What Add flaky test reporting on a PR basis. ### Tasks * [ ] Enable ES indice.
This adds the explicit concept of "exit spans" -- spans the represent an outgoing call to a downstream service. An exit span doesn't have child spans. (Technically it can have...
This is just a first stab, so far.
Closes #1134. For more info see: https://github.com/elastic/apm-agent-nodejs/issues/1134 ### Checklist [X] Update documentation
This PR was created based on the changes of #1724. I've renamed the metric `system.process.memory.rss.bytes` to `nodejs.memory.rss.bytes` because the value is fetched from within nodejs, not from the system. This...
Due to how quickly the community is dropping support for Node.js 8, it gets harder and harder for us to maintain support for it. So let's get ready to release...
This should prevent internal errors from being reported, prevent infinite error reporting loops. Fixes elastic/apm-agent-nodejs#31 ### Checklist - [x] Implement code - [ ] Add tests - [ ] Update...
If `captureSpanStackTraces` is disabled, there's no reason to capture the intermediate knex stack trace which is only used to improve the span stack traces of pg and mysql spans.