npm newrelic 9.4.0
v9.4.0

latest releases: 12.6.1, 12.6.0, 12.5.2...
2 years ago

v9.4.0 (2022-10-24)

  • Removed legacy agent async context propagation. The default behavior is now what was behind the feature_flag.new_promise_tracking. You can read more about the difference here.

  • Fixed an issue with the ES Module loader that properly registers instrumentation when the file path included url encoded characters.

  • Added an API for enqueuing application logs for forwarding

newrelic.recordLogEvent({ message: 'hello world', level: 'info' })`

Note: If you are including a serialized error make sure it is on the error key of the log event:

const error = new Error('testing errors'); 
newrelic.recordLogEvent({ message: 'error example', level: 'error', error })
  • Fixed cassandra-driver instrumentation to properly set instance details on query segments/spans.

  • Added a new context manager that leverages AsyncLocalStorage for async context propagation.

    • This will be available via a feature flag config.feature_flag.async_local_context
    • Alternatively you can set the environment variable of NEW_RELIC_FEATURE_FLAG_ASYNC_LOCAL_CONTEXT=1
    • By enabling this feature flag it should make the agent use less memory and CPU.

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.

Don't miss a new newrelic release

NewReleases is sending notifications on new releases.