Node.js agent release notesRSS

June 4
Node.js agent v12.21.0

Notes

Features

  • Added @google/genai Gemini AI LLM instrumentation (#3119) (7f28a29)
  • Updated opentelemetry bridge to rely on configuration based transformation rules (#3125) (ad116d2)

Bug fixes

  • Refactored getHostnameSafe to accommodate GCP (#3132) (f1eea8d)
  • Updated openai instrumentation to work with 5.0.0+ (#3129) (09146a9)
  • Updated rules to work with 1.17.0 and 1.24.0 for consumer and producer span kind (#3128) (686c747)

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/)

May 27
Node.js agent v12.20.0

Notes

Features

Bug fixes

Documentation

Miscellaneous chores

  • Added event source type to txn name for Lambda APM Mode (#3110) (ddc2e2a)

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/)

May 20
Node.js agent v12.19.0

Notes

Features

  • Added Azure Function HTTP streaming support (#3070) (9865e1c)

Code refactoring

  • Added check to only set a FakeSpan if transaction.agent.otelSpanKey exists (#3071) (b0c1ac1)

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. (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/)

April 30
Node.js agent v12.18.2

Notes

Bug fixes

  • Updated createSegment to stop adding segments to trace when max_trace_segments is exceeded (#3056) (8f3336e)

Documentation

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/)

April 29
Node.js agent v12.18.1

Notes

Bug fixes

  • Only add newrelic header to outgoing headers if has a value (#3052) (6ef0a90)

Code refactoring

  • Added defensive code when calculating exclusive time on a segment where it cannot locate the segment in the transaction trace tree (#3051) (b4aa25e)
  • Updated how otel bridge trace propagator assigns traceparent/tracestate headers (#3046) (6e317b8)

Documentation

Tests

  • Skipped regressions in pg-native versioned tests (#3053) (6ce3670)
  • Updated elasticsearch image for versioned tests (#3038) (3d73f9f)

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/)

April 14
Node.js agent v12.18.0

Notes

Features

  • Support Azure functions background trigger types (#3028) (3bf17b0)
  • Support Azure functions HTTP trigger type (#3021) (90d894b)

Bug fixes

  • Updated span streamer to properly retry failed batches and handle flushing batch queue every 5 seconds (#3033) (7db0e7c)

Code refactoring

  • Update otel bridge rules synthesizer to properly handle consumer kind rules (#3003) (3295dd1)

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/)

April 2
Node.js agent v12.17.0

Notes

Features

  • Azure Function utilization (#3017) (80ab93e)
  • Support honoring W3C traceparent sampled flag (#3009) (d903413)
    • By default the agent will not honor the traceparent sampled flag.
    • To control how sampling works with traceparent set the following in config:
      • distributed_tracing.sampler.remote_parent_sampled(when the traceparent sampled flag is 01)
        • always_on: the agent will sample spans
        • always_off: the agent will not sample spans
        • default: the agent will rely on existing priority sampling to make its decisions
      • distributed_tracing.sampler.remote_parent_not_sampled(when the traceparent sampled flag is 00)
        • always_on: the agent will sample spans
        • always_off: the agent will not sample spans
        • default: the agent will rely on existing priority sampling to make its decisions

Code refactoring

  • Updated otel bridge to centralize mapping rules for a given span attribute to accomondate semantic convention spec updates (#3010) (c20c36b)

Documentation

Tests

  • Pinned openai@4.90.0 to work with @langchain/openai (#3019) (eaa3db0)

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/)

March 24
Node.js agent v12.16.1

Notes

Features

  • Assigned all attributes on internal spans to segment (#3000) (5403018)

Bug fixes

  • Fixed tracer.transactionNestProxy to create a new transaction if there is no transaction or transaction is not active (#3007) (ced9e22)

Documentation

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. (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/)

March 17
Node.js agent v12.16.0

Notes

Features

  • Added support for response streaming Lambda functions (#2981) (61dbbf9)
  • Added AWS entity linking segment attributes for otel bridge (#2978) (6bf1ccc)
  • Added error handling on transactions for otel spans (#2985) (4e61e09)

Code refactoring

  • Updated span event generation to assign the appropriate span.kind based on the segment name (#2976) (697b17e)

Documentation

Miscellaneous chores

Tests

  • Fixed fastify assertions around span kind while running security agent (#2983) (c641645)

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/)

March 3
Node.js agent v12.15.0

Notes

Features

  • Allowed undici error reporting to be disabled with feature flag undici_error_tracking (#2956) (6278107)
    • Thanks for your contribution @Voziv :tada:
  • Added ability to propagate traceparent and tracestate on incoming server/consumer spans and outgoing client http and producer spans (#2958) (258ad7d)
  • Added server span transaction naming fallback to the url.path (#2966) (770bf6f)
  • Updated Context class to ensure bi-directional context propagation with opentelemetry bridge (#2962) (dfeec5a)

Code refactoring

  • Separated context classes for agent in standard and opentelemetry bridge mode (#2967) (d11c071)

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/)