Notes
- Upgraded
protobufjsto resolve CVE-2022-25878
Support statement:
- New Relic recommends that you upgrade the agent regularly to ensure that you're getting the latest features and performance benefits. Additionally, older releases will no longer be supported when they reach end-of-life.
Notes
- Fixed passing undefined as a formatter options to
winston.format.combine
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.
Notas
Se agregó instrumentación para
mysql2/promise.- Esto anteriormente solo existía en nuestro
@newrelic/mysqlindependiente, pero ahora ofrece paridad de funciones entre ambos.
- Esto anteriormente solo existía en nuestro
Se eliminó el muestreador de métricas de CPU nativo sin uso. Esta lógica ya no se ejecutaba al utilizar versiones de Node.js superiores a 6.1.0.
Se corrigió el interceptor de promesas para evitar que volviera a lanzar errores.
Se agregó documentación sobre la denominación de transacciones portada de una publicación en el foro de discusión.
Se agregó
promises.tap.jsa las pruebas versionadas de mysql2.Se actualizó @newrelic/test-utilities a la última versión.
Se eliminó el archivo de prueba no utilizado en las pruebas versionadas de restify.
Se agregó la bandera
--strictal ejecutor de pruebas versionado para que las ejecuciones de CI fallen correctamente cuando no se incluyen archivos de prueba.
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.