apm-agent-nodejs
apm-agent-nodejs copied to clipboard
Elastic APM Node.js Agent
**Is your feature request related to a problem? Please describe.** Is it possible to get the default value of the `sanitizeFieldNames` config ? I need to append a new value...
**Describe the bug** We have integrated the APM in our microservice architecture making use of distributed tracing feature. But we are running into a issue that often child transactions and...
A lambda handler like this: ```js exports.handler = apm.lambda(function handlerThrows3 (event, context) { console.warn('XXX start 100ms timeout') setTimeout(function () { console.warn('XXX go boom3') throw new Error('boom3') }, 100) }) ```...
https://github.com/elastic/apm-agent-nodejs/pull/2194#discussion_r742328035 > Also the spec says: >> The agent should use the information in the request and response objects to fill the HTTP context (context.request and context.response) fields in the...
Per https://github.com/elastic/apm/pull/518 agents "SHOULD" disable compression on intake requests to localhost. This includes the lambda environment. - We should *measure* for the Node.js APM agent, for lambda and not. In...
Pre-requisite: moving to eslint instead of standard https://github.com/elastic/apm-agent-nodejs/pull/2579 See https://github.com/elastic/apm-agent-nodejs/pull/2573#discussion_r806320195 for the initial motivation and a start at adding "no-shadow": ```diff diff --git a/package.json b/package.json index 4ddb8e38..7c058530 100644 --- a/package.json...
Node v16.14.0 includes `process.getActiveResourcesInfo()` ([docs](https://nodejs.org/api/all.html#all_process_processgetactiveresourcesinfo), [PR](https://github.com/nodejs/node/pull/40813)) as a public alternative to `process._getActiveHandles()` and `process._getActiveRequests()`. We use the latter two in "lib/metrics/runtime.js". We should use the blessed new one when able.
**To Reproduce** The following program : ```js const apmModule = require('elastic-apm-node'); apmModule.start({ stackTraceLimit: 0, serverUrl: 'xxx', secretToken: 'yyy', active: true, centralConfig: false, }); const main = () => { console.trace('abcd')...
**Is your feature request related to a problem? Please describe.** filter exceptions configuration like in the Ruby agent: https://www.elastic.co/guide/en/apm/agent/ruby/master/configuration.html#config-filter-exception-types **Describe the solution you'd like** Add the feature to the node...
We've received reports that's the agent will leak when used inside the [jest testing framework](https://jestjs.io/). This is a [known issue with jest and modules that employ some form of redefining...