Features
- Added support for
@opentelemetry/api@1.10.0(#4392) (504490d)- For customers directly using
@opentelemetry/api-logs, they must remove and update to use@opentelemetry/api1.10.0+. See the OpenTelemetry API changelog for more information. - For customers registering 3rd party instrumentation for logging libraries they must update to the following:
@opentelemetry/instrumentation-pinoto 0.70.0+,@opentelemetry/instrumentation-bunyanto 0.69.0+,@opentelemetry/instrumentation-consoleto 0.6.0+, or@opentelemetry/instrumentation-winstonto 0.69.0+
- For customers directly using
Bug fixes
- Collapsed Apollo Server argument array metrics (#4350) (baf35fd)
- To take advantage of this feature you must set both
config.apollo_server.field_metricsandconfig.apollo_server.collapse_field_metricstotrue. Thanks to @cpruijsen for your contribution!
- To take advantage of this feature you must set both
- Stopped net.js from pinning ended transactions to long-lived sockets (#4411) (471e7df)
Performance improvements
- Simplified mongodb bulk instrumentation to match execute directly (#4406) (af4efdb)
- Wrapped mongodb driver methods at the prototype level (#4399) (9074abc)
Documentation
Miscellaneous chores
Tests
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Node.js agent EOL policy for information about agent releases and support dates.
Features
- Added
--dumpto validate-config to emit the effective configuration (#4390) (fe3e684) - Added a validate-config CLI command (#4341) (821848d)
- Flagged a missing OpenTelemetry bridge as a validate-config startup blocker (#4396) (75397be)
- Reduced instances of the schema file to be just one instance in
schema.json(#4379) (a870c3b) - Shared startup-blocker checks between the agent and validate-config CLI (#4378) (06e6596)
Bug fixes
- Bounded module version resolution at filesystem root (#4393) (71c90b6)
- Fixed
http2client handling of missing headers, default ports, IPv6 hosts, and unparseable URLs (#4362) (0eef6a6) - Loaded the code-level metrics function inspector once instead of on every call (#4391) (01d2797)
Performance improvements
- Reduced CPU per SQL query by skipping slow query processing below
explain_threshold(#4376) (047e2cd)
Code refactoring
Documentation
Miscellaneous chores
- Fixed
MAXIMUM_TIMEOUT_TIMEinlib/otel/metrics/index.jsto be the correct expected value (#4365) (39b037c) - Updated linter to latest version (#4351) (a1a30f5)
- Added CLI tool help note about derived settings (#4398) (7c8b36d)
Tests
- Attempted to fix flaky tests (#4383) (01ddfd8)
- Pinned version of
@opentelemetry/apito 1.9.0 (#4387) (525b81c) - Updated
gotto latest to ensure it is up to date (#4364) (b586275)
Support statement
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Node.js agent EOL policy for information about agent releases and support dates.
Notes
Bug fixes
- Prevented nested server/consumer spans from ending the outer transactions early (#4355) (1a41313)
- Truncated every string within an array based span attribute (#4358) (9276106)
Code refactoring
- Handled updating segment name on internal spans when
span.updateNameis used after span is created (#4356) (320b7e6) - Updated span process
onEndlogic to skip attaching stacktrace to error when span lacks stack trace (#4357) (d318777) - Added instrumentation for
dns.promises,dns.Resolver,dns.promises.Resolver, and additionalresolve*methods (#4321) (e1e7784) - Refactored
netinstrumentation to subscriber-based (#4322) (0123e56)
Documentation
Miscellaneous chores
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date. (https://docs.newrelic.com/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/)
See the New Relic Node.js agent EOL policy for information about agent releases and support dates. (https://docs.newrelic.com/docs/apm/agents/nodejs-agent/getting-started/nodejs-agent-eol-policy/)
Notas
Característica
- Se agregó una nueva API
setApolloResolverFilterCallbackpara permitir a los clientes filtrar los segmentos de resolución antes de que se creen (#4312) (0d89bde)
Corrección de errores
- Se actualizó el nombre del canal para los campos de resolución en ESM a
nr_resolve(#4346) (e8b294c) - Se envolvió el stream de openai
[Symbol.asyncIterator]para que el mensaje sintetizado sobreviva a la normalización de fragmentos de v7 (#4342) (aa8ed4b)
Refactorización de código
- Se eliminó la dependencia de
@opentelemetry/sdk-logspara el agente híbrido (#4318) (1d05075) - Se eliminó la dependencia de
@opentelemetry/sdk-trace-basepara el agente híbrido (#4297) (00c363b)
Documentación
- Se agregó una matriz
enhancementsvacía al PR de la documentación (#4344) (b505eda) - Informe de compatibilidad actualizado (#4339) (6204ebb)
Declaración de apoyo:
Recomendamos actualizar a la última versión del agente tan pronto como esté disponible. Si no puede actualizar a la última versión, actualice su agente a una versión que no tenga más de 90 días de antigüedad. Obtenga más información sobre cómo mantener al agente actualizado. (https:\/\/docs.newrelic.com\/docs\/new-relic-solutions\/new-relic-one\/install-configure\/update-new-relic-agent\/)
Consulte la política de EOL del agente Node.js de New Relic para obtener información sobre los lanzamientos del agente y las fechas de soporte. (https:\/\/docs.newrelic.com\/docs\/apm\/agents\/nodejs-agent\/getting-started\/nodejs-agent-eol-policy\/)
Notas
Característica
Corrección de errores
- Se finalizó la transacción y se registró el error cuando un controlador de Azure Functions lanza una excepción (#4310) (918ef55)
Refactorización de código
- Se migró la instrumentación de
fsa tipo suscriptor (#4317) (4711f4c) - Se migró la instrumentación principal de
globalsa tipo suscriptor (#4300) (7827797) - Se refactorizó la clase transacción y afectó a otras entidades (#4246) (b965d8e)
Documentación
Tareas varias
- Se agregó la lista
excludedPkgsainstrumentationy se le agregóglobals(#4334) (4f356f5) - Se migró la configuración a JSON Schema (#4284) (39cdebc)
- Se regeneró el esquema json de configuración del agente (#4335) (4c199a5)
- Se eliminó la instrumentación de
domainyinspectory el archivozlibantiguo (#4331) (f887492) - Se actualizó agent-types 1.0.0 (#4307) (175a4ba)
Pruebas
Declaración de apoyo:
Recomendamos actualizar a la última versión del agente tan pronto como esté disponible. Si no puede actualizar a la última versión, actualice su agente a una versión que no tenga más de 90 días de antigüedad. Obtenga más información sobre cómo mantener al agente actualizado. (https:\/\/docs.newrelic.com\/docs\/new-relic-solutions\/new-relic-one\/install-configure\/update-new-relic-agent\/)
Consulte la política de EOL del agente Node.js de New Relic para obtener información sobre los lanzamientos del agente y las fechas de soporte. (https:\/\/docs.newrelic.com\/docs\/apm\/agents\/nodejs-agent\/getting-started\/nodejs-agent-eol-policy\/)
Notas
Corrección de errores
- Se actualizó
segment.getExclusiveDurationpara intentar calcular y almacenar en caché las duraciones de todos los segmentos de una traza una sola vez (#4303) (563f743)
Mejoras de rendimiento
Refactorización de código
- Se consolidaron las configuraciones principales del suscriptor en un solo archivo (#4294) (a6adc6d)
- Se migró la instrumentación principal de
cryptoa una basada en suscriptores (#4293) (8848d84) - Se refactorizó la instrumentación de
zlibpara estar basada en suscriptores (#4299) (e4ede21) - Se eliminó la dependencia de
@opentelemetry/corepara el agente híbrido (#4295) (8a83507)
Documentación
Tareas varias
Pruebas
Declaración de apoyo:
Recomendamos actualizar a la última versión del agente tan pronto como esté disponible. Si no puede actualizar a la última versión, actualice su agente a una versión que no tenga más de 90 días de antigüedad. Obtenga más información sobre cómo mantener al agente actualizado. (https:\/\/docs.newrelic.com\/docs\/new-relic-solutions\/new-relic-one\/install-configure\/update-new-relic-agent\/)
Consulte la política de EOL del agente Node.js de New Relic para obtener información sobre los lanzamientos del agente y las fechas de soporte. (https:\/\/docs.newrelic.com\/docs\/apm\/agents\/nodejs-agent\/getting-started\/nodejs-agent-eol-policy\/)
Notes
Features
- Added
browser_monitoring.versionconfiguration option (#4269) (b62ca00)- When this is set, it will pin the browser agent version when using
newrelic.getBrowserTimingHeaderto the version selected. - If you specify a version that is no longer supported or invalid, it will not resolve to any browser agent when calling
newrelic.getBrowserTimingHeader.
- When this is set, it will pin the browser agent version when using
Bug fixes
- Updated
undiciinstrumentation to not attempt to create an external segment when transaction is not active (#4278) (d634246) - Updated
http2instrumentation to properly injecttraceparentheader with external segment id (#4279) (ccd7800)
Code refactoring
- Refactored
child_processinstrumentation to use tracing channel instead ofShim(#4212) (5a39c38) - Refactored
dnsinstrumentation to subscribe to events emitted (#4224) (c04289f)
Miscellaneous chores
Tests
Support statement:
We recommend updating to the latest agent version as soon as it's available. If you can't upgrade to the latest version, update your agents to a version no more than 90 days old. Read more about keeping agents up to date.
See the New Relic Node.js agent EOL policy for information about agent releases and support dates.