* Added support for W3C Trace Context, with easy upgrade from New Relic trace
context.
* Distributed Tracing now supports W3C Trace Context headers for HTTP protocols
when distributed tracing is enabled. Our implementation can accept and emit both
the W3C trace header format and the New Relic trace header format. This simplifies
agent upgrades, allowing trace context to be propagated between services with older
and newer releases of New Relic agents. W3C trace header format will always be
accepted and emitted. New Relic trace header format will be accepted, and you can
optionally disable emission of the New Relic trace header format.
* When distributed tracing is enabled with ,
the Node agent will now accept W3C's and headers when
calling or automatically via
instrumentation. When calling ,
or automatically via instrumentation, the Node agent will include the W3C
headers along with the New Relic distributed tracing header. Unless the New Relic
trace header format is disabled using .
* Pins Node 12 version to to avoid breakages with until cause(s)
resolved.
Ensuring that errors throw in sync lambdas generate error events
* Added API for accepting both
New Relic and W3C TraceContext distributed traces.
Deprecated which will be removed
in a future major release.
* Added API for adding outbound
distributed trace headers. Both W3C TraceContext and New Relic formats will be
included unless .
Deprecated which will be removed
in a future major release.
* Improved Transaction and Trace ID generation
* Collects additional AWS Lambda event source meta data
- Fixing lambda issue where async functions were not recording error events properly.
- Added event type detection for lambda invocation events
- Expanded ARN harvest to include ALB and CloudWatch
* Updated publish-docs script to use Lifecycle scripts included in newrelic:
test
npm run integration && npm run unit
available via `npm run-script`:
bench
node ./bin/run-bench.js
ca-gen
./bin/update-ca-bundle.sh
clean
./bin/clean.sh
docker-env
./bin/docker-env-vars.sh
docs
npm ci && jsdoc -c ./jsdoc-conf.json --private -r .
integration
npm run prepare-test && npm run sub-install && time tap --no-esm test/integration/**/**/*.tap.js --timeout=120 --no-coverage
prepare-test
npm ci && npm run ca-gen && npm run ssl && npm run docker-env
lint
eslint ./*.js lib test
public-docs
npm ci && jsdoc -c ./jsdoc-conf.json --tutorials examples/shim api.js lib/shim/ lib/transaction/handle.js && cp examples/shim/*.png out/
publish-docs
./bin/publish-docs.sh
security
npm audit
services
./bin/docker-services.sh
smoke
npm run clean && ./bin/smoke.sh
ssl
./bin/ssl.sh
sub-install
node test/bin/install_sub_deps
unit
rm -f newrelic_agent.log && mocha -r nock -c test/unit --recursive --exit
update-cross-agent-tests
./bin/update-cats.sh
versioned-tests
./bin/run-versioned-tests.sh
versioned
npm run prepare-test && time ./bin/run-versioned-tests.sh instead of .