Skip to content

Bump newrelic_rpm from 9.24.0 to 10.4.0#14209

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/newrelic_rpm-10.4.0
Closed

Bump newrelic_rpm from 9.24.0 to 10.4.0#14209
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/newrelic_rpm-10.4.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 24, 2026

Copy link
Copy Markdown
Contributor

Bumps newrelic_rpm from 9.24.0 to 10.4.0.

Changelog

Sourced from newrelic_rpm's changelog.

v10.4.0

  • Feature: Add Rails.event instrumentation for structured logging

    The agent now supports Rails.event as structured log events. When enabled, events published via Rails.event.notify are captured and forwarded to New Relic as log events. Event payloads, tags, context, timestamps, and source locations are automatically captured as log attributes.

    This instrumentation can be configured with the following options:

    • instrumentation.rails_event_logger - Controls whether Rails.event instrumentation is enabled. Defaults to use the value of application_logging.enabled.
    • instrumentation.rails_event_logger.event_names - An array of specific event names to capture. When empty (default), all Rails.event notifications are captured. Use this to filter events by name, for example: ['user.signup', 'payment.processed'].

    PR#3526

  • Feature: Add instrumentation for Rails Active Job Continuations

    The agent now instruments Rails Active Job Continuations, providing visibility into individual step execution within long-running jobs. Step names are included in segment metrics (e.g., Ruby/ActiveJob/default/MyJob/step/process_records) and step-specific attributes like cursor position, resumed status, and interrupted status are captured. A new configuration option, disable_active_job_step_names, allows users to exclude step names from metric names to reduce metric cardinality if needed (defaults to false). PR#3493

  • Feature: Add sidekiq.separate_transactions configuration option

    A new configuration option, sidekiq.separate_transactions, allows Sidekiq jobs executed during a web transaction to run in their own separate transaction. When enabled, this prevents Sidekiq job execution time from being included in web transaction metrics, providing more accurate performance data. The feature is opt-in (default: false) to maintain backward compatibility. This only affects jobs executed during active web transactions; jobs starting independently or nested within other background jobs are unaffected. Issue#3364 PR#3514

  • Bugfix: Update regexes that may have been vulnerable to ReDOS attacks

    Previously, the agent had a few regexes identified as possible targets for polynomial time complexity (ReDOS) attacks. Those regexes are now updated to address the concerns. PR#3520

  • Bugfix: Prevent crashes during HTTPX segment creation

    Previously, if start_external_request_segment encountered an error and returned nil, the agent would trigger a NoMethodError when attempting to add headers to the missing segment. We've added a guard check to ensure the instrumentation handles these cases gracefully.

    Bravo to @​thebravoman for the report! Issue#3509 PR#3510

  • Bugfix: Make Transaction#finish idempotent

    Previously, if the Transaction#finish method was called multiple times, more than one transaction could be created for the same operation. Now, a mutex protects calls to Transaction#finish to make sure finish operations only run once. PR#3513

  • Bugfix: Log deprecation warning for Datastores.wrap API once

    Previously, this warning was being logged on every call to Datastores.wrap. Now, it will be logged only on the first call. In addition, the documentation has been updated to note the deprecated status of the second and third callback arguments. Issue#3516 PR#3519

v10.3.0

  • Feature: Add database query naming via SQL comments

    Database queries can now be explicitly named using SQL comments. Queries can include /* NewRelicQueryName: CustomName */ comments to assign stable names for better tracking and identification. This is especially useful for tracking specific database queries during performance regressions or incidents. PR#3480

  • Feature: Add Semantic Logger instrumentation

    The agent now supports Semantic Logger log forwarding and decoration for the semantic_logger gem versions 4.6.0+. If you were previously using Semantic Logger's built-in New Relic appender, it is recommended to choose one approach to avoid sending duplicate logs. New Relic's Semantic Logger instrumentation can be disabled by setting instrumentation.semantic_logger to disabled. PR#3467

    Thanks to @​jdelStrother for providing valuable feedback that helped shape this instrumentation.

... (truncated)

Commits
  • 0f1fe8f Merge pull request #3532 from newrelic/prerelease_updates_10.4.0-pre
  • f34a083 bump version
  • 8299519 Merge pull request #3526 from newrelic/rails81_structured_events
  • ae8a80c Merge pull request #3514 from newrelic/sidekiq-separate-transactions
  • d906750 update wording
  • 8e3bba9 Merge branch 'dev' into sidekiq-separate-transactions
  • 813d972 Merge branch 'dev' into rails81_structured_events
  • 08f1f5a Merge pull request #3493 from newrelic/rails_81_activejob_continuations
  • 2f01487 add more tests
  • cc22111 Merge branch 'dev' into rails_81_activejob_continuations
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies ruby Pull requests that update Ruby code labels Apr 24, 2026
@github-project-automation github-project-automation Bot moved this to All the things 💤 in OFN Delivery board Apr 24, 2026
@dependabot-pr-automation dependabot-pr-automation Bot moved this from All the things 💤 to Code review 🔎 in OFN Delivery board Apr 24, 2026
@sigmundpetersen sigmundpetersen moved this from Code review 🔎 to In Progress ⚙ in OFN Delivery board Apr 24, 2026
@sigmundpetersen

Copy link
Copy Markdown
Contributor

See #13929 (comment)

@dependabot dependabot Bot force-pushed the dependabot/bundler/newrelic_rpm-10.4.0 branch from 00ddd83 to 2e2c5b8 Compare April 28, 2026 23:45
Bumps [newrelic_rpm](https://github.com/newrelic/newrelic-ruby-agent) from 9.24.0 to 10.4.0.
- [Release notes](https://github.com/newrelic/newrelic-ruby-agent/releases)
- [Changelog](https://github.com/newrelic/newrelic-ruby-agent/blob/dev/CHANGELOG.md)
- [Commits](newrelic/newrelic-ruby-agent@9.24.0...10.4.0)

---
updated-dependencies:
- dependency-name: newrelic_rpm
  dependency-version: 10.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/bundler/newrelic_rpm-10.4.0 branch from 2e2c5b8 to e000ac3 Compare May 21, 2026 00:04
@sigmundpetersen sigmundpetersen moved this from In Progress ⚙ to Dev ready 👋 in OFN Delivery board May 21, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 22, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #14323.

@dependabot dependabot Bot closed this May 22, 2026
@github-project-automation github-project-automation Bot moved this from Dev ready 👋 to Done in OFN Delivery board May 22, 2026
@dependabot dependabot Bot deleted the dependabot/bundler/newrelic_rpm-10.4.0 branch May 22, 2026 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies ruby Pull requests that update Ruby code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant