Skip to content

v12.8.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Nov 19:47
· 8 commits to main since this release
dffdac7

v12.8.0 (2024-11-19)

Features

  • 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 to true or the environment variable NEW_RELIC_APPLICATION_LOGGING_FORWARDING_LABELS_ENABLED to true (#2727) (36adb13)
    • To exclude labels that were set on application from logs use config.application_logging.forwarding.labels.exclude or the environment variable NEW_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, and hostname to common.attributes on logs payload instead of in every log message (#2736) (a7f14de)

Bug fixes

  • Corrected expected shape of user input in get Prompt() (#2741) (a8eef8b)

Documentation

Miscellaneous chores

Tests

  • Fixed two assertions to work against older versions of openai (#2726) (8996fc3)
  • Migrated ioredis, prisma and undici versioned tests to node:test (#2746) (449ae03)
  • Migrated memcached, nestjs, and restify versioned tests to node:test (#2752) (653f614)
  • Migrated nextjs versioned tests to node:test (#2749) (d385af6)
  • Migrated redis versioned tests to node:test (#2725) (9752827)
  • Updated hapi tests to node:test (#2722) (636899b)
  • Updated kafkajs, langchain, & openai tests to node:test (#2723) (b6e4c5d)
  • Updated koa tests to node:test (#2744) (86c22a4)
  • Updated mongodb tests to node:test (#2738) (295e7e6)
  • Updated pg and pg-esm tests to node: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/)