• /
  • EnglishEspañol日本語한국어Português
  • Log inStart now

Node.js agent v11.11.0

February 27, 2024Download

Notes

Features

  • Added instrumentation for RunnableSequence (#1996) (71ffa37)

  • Added LangChain error events capture (#2040) (4d0d839)

  • Added ai_monitoring.streaming.enabled. When set to false this will not instrument chat completion streams, thus it will not create relevant Llm events. (#2021) (ff78b51)

  • Added ability to recordLlmFeedbackEvent by traceId (#2043) (b0a4ed1)

  • Added instrumentation for langchain tools. (#2009) (695d10e)

Code refactoring

  • Updated AIM instrumentation (#2015) (d37d2a8)

    • removed capturing last 4 of api key
    • included all custom attributes prefixed with llm. as attributes on all Llm events
    • changed tracking metric to start with Supportability
  • Updated capturing conversation_id on Llm Events as llm.conversation_id (#2020) (5f93f65)

  • Updated instrumentation to construct specs at source instead of within the shim methods (#2035) (ead8c25)

    • Simplified the logic in shim.recordQuery and shim.recordOperation to reduce merging of spec properties and rely on the constructed spec

Documentation

  • Added note about using sudo for firewall script (#2032) (bf106d2)

  • Fixed spec objects parameter definitions (#2024) (4378173)

Miscellaneous chores

  • Added missing is_response to LangChain completion messages (#2044) (20c7d47)

  • Attached specs to the Shim.prototype for use in custom instrumentation and instrumentation outside of the agent (#2038) (2c97488)

  • deps: Updated to use @newrelic/ritm from require-in-the-middle (#2034) (ffb729f)

  • Updated DatastoreParameters to include collection (#2039) (b9c73ca)

Tests

  • Cleaned up pending mocks in the log dropping test to avoid a console warning around pending mocks in after each (#2017) (d2f40c2)

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/)

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.