Notes
Features
- Added AI Monitoring(AIM) for OpenAI, Amazon Bedrock, and Langchain.
- To enable, set
config.ai_monitoring.enabled
orNEW_RELIC_AI_MONITORING_ENABLED
totrue
. - For a full experience, set
config.span_events.max_samples_stored
to10000
,config.custom_insights_events.max_samples_stored
to100000
, andconfig.distributed_tracing.enabled
should not be set to false. - Note: Enabling high-security mode will disable the AIM instrumentation and events.
- To enable, set
- Added instrumentation for
VectorStore.similaritySearch
forlangchain.js
(#2049) (3c50606) - Added
setLlmTokenCountCallback
API endpoint to register a callback for calculating token count when none is provided (#2065) (d2faf1a) - Added
token_count
toLlmEmbedding
andLlmChatCompletionMessage
for openai (#2061) (47a925e) - Added
tool_id
to Langchain error event (#2064) (793abe8)
Miscellaneous chores
- Added flag for verbosity during docs publishing (#2060) (fe0d41a)
- Added some delays to docs publishing (#2062) (a602fd4)
- Changed casing of OpenAI in vendor property (#2068) (64b4ca2)
- Changed
token_count
to only usetokenCountCallback
(#2070) (66f94b0) - Removed langchain_instrumentation feature flag as the instrumentation is feature complete (#2073) (925a463)
- updated @newrelic/aws-sdk and @newrelic/koa to latest (#2074) (0747ca4)
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/)