Notes
Moved log forwarding logic to a transport so customer transports are not polluted with NR linking metadata and timestamp and error manipulations.
Prevented transmitting logs when application level logging has been disabled.
Notes
Added instrumentation to pino to support application logging use cases: forwarding, local decorating, and metrics.
Added supportability metrics about the data usage bytes of harvested data to the collector endpoints.
Added an optional way to avoid wrapping browser agent script with the
{'<script>'}tag when usingapi.getBrowserTimingHeader. This will ease usage with component-based libraries like React. Thanks to @github-dd-nicolas for the contribution.Upgraded
@grpc/proto-loaderto fix a CVE withprotobufjs.Upgraded
@newrelic/test-utilitiesto resolve a dev-only audit warning.
Notes
- Fixed winston instrumentation to no longer coerce every log line to be json.
Notes
- Fixed an issue with winston instrumentation that caused agent to crash when creating a winston logger from an existing instantiated logger.
Notes
Added application logging for Winston in the Node.js agent
Ability to forward logs, send log metrics, and perform local log decoration
Added application log aggregator to collect logs with adaptive sampling and appropriate max samples stored.
Added
application_loggingconfiguration and env vars with appropriate defaults.Added
application_logging.enabledconfiguration value, defaulting to true.Set
application_logging.forwarding.enabledto false when High-security mode (HSM) is set.Enabled log forwarding by default in the example config.
Added sent, seen, and dropped metrics that collected on every harvest cycle around log lines.
Added supportability metrics for some popular logging frameworks.
Added supportability metrics to record if the logging features are enabled.
Added a storage mechanism to transactions to keep logs until transaction ends.
- Removed distributed tracing setting from example config.
Fixed a typo in
lib/instrumentation/core/child_process.js.Thanks to Eito Katagiri (@eitoball) for the contribution.
- Support automatic instrumentation of Redis v4.
- Bumped moment from v2.29.1 to v2.29.2.
- Bumped
tapto v16.x.
- Updated
ansi-regexto resolve a dev dependency audit warning.
Notes
mysql2/promise에 대한 측정, 로그를 추가했습니다.- 이전에는 이것이 독립형
@newrelic/mysql에만 존재했지만 이제 두 제품 간에 기능 파티를 제공합니다.
- 이전에는 이것이 독립형
사용하지 않는 네이티브 CPU 메트릭 샘플러를 제거했습니다. Node.js 버전이 6.1.0보다 높은 버전에서는 이 로직이 더 이상 수정되지 않았습니다.
프로미스 인터셉터에서 오류를 다시 던지는 문제를 수정했습니다.
토론 포럼 게시글 에서 가져온 트랜잭션 명명 관련 문서를 추가했습니다.
mysql2 버전 관리 테스트에
promises.tap.js추가했습니다.@newrelic/test-utilities를 최신 버전으로 업데이트했습니다.
Restify 버전 관리 테스트에서 사용되지 않는 테스트 파일을 제거했습니다.
테스트 파일이 포함되지 않은 경우 CI 실행이 제대로 실패하도록 버전 관리되는 테스트 러너에
--strict플래그를 추가했습니다.
Notes
Fixed
shim.wrapReturnto callReflect.constructin construct Proxy trap. Also includingnewTargetto work with inherited classes.Added link to New Relic Node.js Examples repository.
Excluded installing dependencies in
versioned-externalfolders when running integration tests.
Notes
Added support for
initializeUnorderedBulkOp, andinitializeOrderedBulkOpin mongodb v3 instrumentation.Thanks to Denis Lantsman (@dlants) for the contribution.
Updated logger to delay logging until configuration is parsed. The logger will now queue all log entries that occur before the agent can parse the configuration.
Thanks to Cody Landry (@codylandry) for the contribution.
Added
NEW_RELIC_ALLOW_ALL_HEADERSas a boolean environment variable, same behavior as existingallow_all_headers.Updated the AWS IMDBS v2 endpoint to use
latestto align with the internal agent specification.Bumped
@newrelic/koato ^6.1.1.Added Next.js to External Modules list in README.
Updated mysql and mysql2 versioned tests to run against their own databases on the MySQL instance.
Removed upper-bound testing from restify versioned tests so future major versions will be covered.
Removed upper-bound testing from mysql2 versioned tests to cover existing and future major versions.
Continues to skip version 1.6.2 which had a bug that broke tests which was resolved in 1.6.3.
Updated @hapi/hapi Node 16 versioned test runs to run against @hapi/hapi >=20.1.2 so future major releases will be ran.
Fixed sparse checkout of non-default branch for external versioned tests.
Added external versioned tests for the Apollo Server plugin instrumentation.
Added nock delay to test timeouts in utilization integration tests.
Added newrelic-node-nextjs to external versioned tests to be run on every PR.
Updated external version test running to support more test scenarios.
- Adds
test/versioned-externalto lint ignore to avoid issues for scripts in tests that auto run linting tools (next/react). - Adds
index.jsandnr-hooks.jsto files automatically checked-out for test runs.
- Adds
Notes
Updated AWS metadata capture to utilize IMDSv2.
Fixed link to discuss.newrelic.com in README
Updated minimum Node version warning to output current Node version from process.
Bumped
@newrelic/native-metricsto ^7.1.1.Added
Nextjsto a framework constant within the webframework-shim.Updated shim to pass active segment to inContext callback.
Bumped
@grpc/grpc-jsto ^1.5.5.Bumped
@grpc/proto-loaderto ^0.6.9.Bumped
@newrelic/superagentto ^5.1.0.Bumped
@newrelic/koato ^6.1.0.Bumped
asyncto ^3.2.3.Resolved several npm audit warnings for dev deps.
Fixed Post Release workflow by properly configuring git credentials so it can push API docs to branch
Added
set -ein publish docs script to exit on possible failuresRemoved redundant
npm ciin publish API docs scriptAdded ability to ignore certain PRs in
bin/pending-prs.jsreport to slackUpdated README to include
@newrelic/pino-enricheras an external module.Fixed documentation in a sample of the Datastore Instrumentation for Node.js.
Added a new
mongo:5container tonpm run sevicesto test mongodb driver >=4.2.0.Fixed conditions in post release workflow to function when triggered via successful release and manual invoked.
Updated method for retrieving agent version from repository by using
cat package.json | jq .versionFixed minor formatting and spelling issues in
create-docs-pr.js.Fixed an issue with the docs PR script that assumed
\nin the NEWS.md file when extract version and release date