Notes
Features
Added
labels.enabled
andlabels.exclude
to config defaults (#2727) (36adb13)Added new configuration options to add custom tags (labels) to logs (#2743) (d20c874)
- With custom tags on logs, platform engineers can easily filter, search, and correlate log data for faster and more efficient troubleshooting, improved performance, and optimized resource utilization. To learn more about this feature see the documentation
- To enable set
config.application_logging.forwarding.labels.enabled
totrue
or the environment variableNEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_ENABLED
totrue
(#2727) (36adb13) - To exclude labels that were set on application from logs use
config.application_logging.forwarding.labels.exclude
or the environment variableNEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_EXCLUDE
Added support for Bedrock Claude 3.5 invoke model user request (#2721) (a901a24)
Moved
entity.guid
,entity.name
,entity.type
, andhostname
tocommon.attributes
on logs payload instead of in every log message (#2736) (a7f14de)
Bug fixes
Documentation
Miscellaneous chores
Tests
- Fixed two assertions to work against older versions of
openai
(#2726) (8996fc3) - Migrated
ioredis
,prisma
andundici
versioned tests tonode:test
(#2746) (449ae03) - Migrated
memcached
,nestjs
, andrestify
versioned tests tonode:test
(#2752) (653f614) - Migrated
nextjs
versioned tests tonode:test
(#2749) (d385af6) - Migrated
redis
versioned tests tonode:test
(#2725) (9752827) - Updated
hapi
tests tonode:test
(#2722) (636899b) - Updated
kafkajs
,langchain
, &openai
tests tonode:test
(#2723) (b6e4c5d) - Updated
koa
tests tonode:test
(#2744) (86c22a4) - Updated
mongodb
tests tonode:test
(#2738) (295e7e6) - Updated
pg
andpg-esm
tests tonode:test
(#2750) (40aea36)
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/)