apm-agent-nodejs icon indicating copy to clipboard operation
apm-agent-nodejs copied to clipboard

Elastic APM Node.js Agent

Results 294 apm-agent-nodejs issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I am using the custom transaction api to start a transaction when a 'request' comes in on socket.io. I am able to see the transaction in the...

agent-nodejs

**Is your feature request related to a problem? Please describe.** When using _apollo-link-batch-http_ more than 1 query is sent to the server in a single request. This causes a single...

enhancement
agent-nodejs

**Describe the bug** The agent does capture stack trace but it wrongly claims that the line is 299 when it's 364 actually. I first though it was a source map...

agent-nodejs

**Describe the bug** The MongoDB span is not always showing the correct command i.e. `find` instead of `findOne` **Expected behavior** To show the same MongoDB command as is being used....

bug
agent-nodejs

Trace Ids not added on uncaught exceptions? When using ECSFormat with winston I don't have TraceIds (transaction.id e etc...) information in uncaught Exceptions. https://github.com/elastic/ecs-logging-nodejs/issues/124 ``` import { createLogger, format, transports...

agent-nodejs
community

Starting with mongoose 5.7.0, it uses "mongodb" (rather than "mongodb-core") as a backend. ### Checklist - [ ] Figure out why no ".find" spans with mongoose >=5.7.0 (see comment below)....

agent-nodejs
8.4-candidate

`span.context.http.status_code` was deprecated in favour of `span.context.http.response.status_code` in APM Server 7.7: https://github.com/elastic/apm-server/blob/master/changelogs/7.7.asciidoc#intake-api-changes Now that we have APM Server version sniffing (as of #2546), we should be able to know when...

agent-nodejs
8.4-candidate

The Lambda `context.fail(...)` method's `err` argument is optional: https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/blob/c31c41ffe5f2f03ae9e8589b96f3b005e2bb8a4a/src/Runtime/CallbackContext.ts#L108-L114 In our current instrumentation `endAndFlushTransaction` will misinterpret that as a success, and set `trans.result` and `trans.outcome` to success values.

agent-nodejs

One challenge with understanding performance issues in Elastic APM is that outbound HTTP requests are shown as a simple bar representing start and end time, but that omits many details....

agent-nodejs
community
8.4-candidate

# The Problem ```js const apm = require('elastic-apm-node').start() async function somethingToAwait () { return 42 } async function firstThing () { // await Promise.resolve() const span = apm.startSpan('firstThing') await somethingToAwait()...

agent-nodejs