Notes
Features
- Added AI Monitoring(AIM) for OpenAI, Amazon Bedrock, and Langchain.
- To enable, set
config.ai_monitoring.enabledorNEW_RELIC_AI_MONITORING_ENABLEDtotrue. - For a full experience, set
config.span_events.max_samples_storedto10000,config.custom_insights_events.max_samples_storedto100000, andconfig.distributed_tracing.enabledshould not be set to false. - Note: Enabling high-security mode will disable the AIM instrumentation and events.
- To enable, set
- Added instrumentation for
VectorStore.similaritySearchforlangchain.js(#2049) (3c50606) - Added
setLlmTokenCountCallbackAPI endpoint to register a callback for calculating token count when none is provided (#2065) (d2faf1a) - Added
token_counttoLlmEmbeddingandLlmChatCompletionMessagefor openai (#2061) (47a925e) - Added
tool_idto 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_countto 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/)