The following is a guide on upgrading your Node.js agent from version 2.x to version 3.x.
Version 3.0.0 of the Node.js agent supports Node.js v8 (from v8.6.0 and onwards), v10, and v12.
disableInstrumentations config option now behaves differently if given the values
Previously this would disable tracing of incoming and outgoing requests.
Now this config option only deals with outgoing requests.
To disable tracing of incoming http(s) requests, use the new
instrumentIncomingHTTPRequests config option.
It’s now possible to make use of manual instrumention while the
instrument config option is set to
This means that calls to for instance
apm.startSpan() will produce transactions and spans even if
instrument is set to
type associated with transactions and spans is no longer dot-separated.
type property has been split into three distinct properties:
This has resulted in changes to the following API’s:
apm.startTransaction(): Function arguments changed
apm.startSpan(): Function arguments changed
transaction.startSpan(): Function arguments changed
transaction.type: String format changed
span.type: String format changed
The following deprecated API’s has been removed:
apm.setTag(): Replaced by
apm.addTags(): Replaced by
transaction.setTag(): Replaced by
transaction.addTags(): Replaced by
span.setTag(): Replaced by
span.addTags(): Replaced by
When instrumenting a GraphQL server that is run by either
the Transaction type is now
graphql instead of
All Spans whose type was previously
ext is now
Intro to Kibana
ELK for Logs & Metrics