newrelic

v12.5.1
New Relic agent
apm performance monitoring instrumentation debugging profiling

bench

node ./bin/run-bench.js

docker-env

./bin/docker-env-vars.sh

docs

rm -rf ./out && jsdoc -c ./jsdoc-conf.jsonc --private -r .

integration

npm run prepare-test && npm run sub-install && time c8 -o ./coverage/integration borp --timeout 600000 --reporter ./test/lib/test-reporter.mjs 'test/integration/**/*.tap.js'

integration:esm

NODE_OPTIONS='--loader=./esm-loader.mjs' time c8 -o ./coverage/integration-esm borp --reporter ./test/lib/test-reporter.mjs 'test/integration/**/*.tap.mjs'

prepare-test

npm run ssl && npm run docker-env

lint

eslint ./*.{js,mjs} lib test bin

lint:fix

eslint --fix, ./*.{js,mjs} lib test bin

public-docs

jsdoc -c ./jsdoc-conf.jsonc

publish-docs

./bin/publish-docs.sh

services

DOCKER_PLATFORM=linux/$(uname -m) docker compose up -d --wait

services:stop

docker compose down

smoke

npm run ssl && time borp --timeout 180000 --reporter ./test/lib/test-reporter.mjs 'test/smoke/**/*.tap.js'

ssl

./bin/ssl.sh

sub-install

node test/bin/install_sub_deps

test

npm run integration && npm run unit

third-party-updates

oss third-party manifest --includeOptDeps && oss third-party notices --includeOptDeps && git add THIRD_PARTY_NOTICES.md third_party_manifest.json

unit

rm -f newrelic_agent.log && time c8 -o ./coverage/unit borp --timeout 180000 --reporter ./test/lib/test-reporter.mjs 'test/unit/**/*.test.js'

unit:scripts

time c8 -o ./coverage/scripts-unit borp --reporter ./test/lib/test-reporter.mjs 'bin/test/*.test.js'

update-cross-agent-tests

./bin/update-cats.sh

versioned-tests

./bin/run-versioned-tests.sh

update-changelog-version

node ./bin/update-changelog-version

checkout-external-versioned

node ./test/versioned-external/checkout-external-tests.js

versioned:internal:major

VERSIONED_MODE=--major npm run versioned:internal

versioned:internal

npm run prepare-test && EXTERNAL_MODE=none time ./bin/run-versioned-tests.sh

versioned:external:major

VERSIONED_MODE=--major npm run versioned:external

versioned:external

npm run checkout-external-versioned && SKIP_C8=true EXTERNAL_MODE=only time ./bin/run-versioned-tests.sh

versioned:major

VERSIONED_MODE=--major npm run versioned

versioned

npm run checkout-external-versioned && npm run prepare-test && time ./bin/run-versioned-tests.sh

versioned:security

NEW_RELIC_SECURITY_AGENT_ENABLED=true npm run versioned

versioned:security:major

NEW_RELIC_SECURITY_AGENT_ENABLED=true npm run versioned:major

prepare

husky install
npm i newrelic

Metadata

  • Apache-2.0
  • >=18
  • New Relic Node.js agent team
  • released 9/23/2024

Downloads

Maintainers