Notes
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're including a serialized error make sure it's 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.
- This will be available via a feature flag
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.