|
| 1 | +--- |
| 2 | +subject: Ruby agent |
| 3 | +releaseDate: '2024-11-19' |
| 4 | +version: 9.16.0 |
| 5 | +downloadLink: https://rubygems.org/downloads/newrelic_rpm-9.16.0.gem |
| 6 | +features: ["Instrumentation for aws-sdk-lambda", "Add new configuration options to attach custom tags (labels) to logs", "Update View Component instrumentation+"] |
| 7 | +bugs: ["Record explain plan traces on Rails 7.2+"] |
| 8 | +security: [] |
| 9 | +--- |
| 10 | + |
| 11 | +<Callout variant="important"> |
| 12 | + 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](/docs/new-relic-solutions/new-relic-one/install-configure/update-new-relic-agent/). |
| 13 | + |
| 14 | + See the New Relic Ruby agent [EOL policy](https://docs.newrelic.com/docs/apm/agents/ruby-agent/getting-started/ruby-agent-eol-policy/) for information about agent releases and support dates. |
| 15 | +</Callout> |
| 16 | + |
| 17 | +## v9.16.0 |
| 18 | + |
| 19 | +Version 9.16.0 introduces instrumentation for the aws-sdk-lambda gem, allows users to opt-in to adding labels to logs, updates View Component instrumentation, and fixes a bug with explain plans on Rails 7.2+. |
| 20 | + |
| 21 | +- **Feature: Instrumentation for aws-sdk-lambda** |
| 22 | + |
| 23 | + If the aws-sdk-lambda gem is present and used to invoke remote AWS Lambda functions, timing and error details for the invocations will be reported to New Relic. [PR#2926](https://github.com/newrelic/newrelic-ruby-agent/pull/2926). |
| 24 | + |
| 25 | +- **Feature: Add new configuration options to attach custom tags (labels) to logs** |
| 26 | + |
| 27 | + The Ruby agent now allows you to opt-in to adding your custom tags (labels) to agent-forwarded logs. 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. [PR#2925](https://github.com/newrelic/newrelic-ruby-agent/pull/2925) |
| 28 | + |
| 29 | +- **Feature: Update View Component instrumentation+** |
| 30 | + |
| 31 | + The `.identifier` method will be formally exposed as part of the View Component public API. The agent will now use this method for building metric names when available, ensuring ongoing compatibility with all View Component versions. [PR#2956](https://github.com/newrelic/newrelic-ruby-agent/pull/2956) |
| 32 | + |
| 33 | +- **Bugfix: Record explain plan traces on Rails 7.2+** |
| 34 | + |
| 35 | + Rails 7.2 removed adapter-specific connection methods (ex. `ActiveRecord::Base.postgresql_connection`) and replaced them with `ActiveRecord::Base.with_connection`. Our explain plan feature relies on making a connection to the database to create an explain plan trace. Due to a bug in our tests, we missed this regression. Now, the agent uses the new method to fetch explain plans on Rails 7.2+. Thank you, [@gsar](https://github.com/gsar) and [@gstark](https://github.com/gstark) for bringing this to our attention! [Issue#2922](https://github.com/newrelic/newrelic-ruby-agent/issues/2922) [PR#2940](https://github.com/newrelic/newrelic-ruby-agent/pull/2940) |
| 36 | + |
| 37 | + |
0 commit comments