• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

Ruby agent v10.9.0

September 28, 2026Download

Important

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.

See the New Relic Ruby agent EOL policy for information about agent releases and support dates.

v10.9.0

  • Feature: Continuous Profiling (preview)

    Continuous Profiling is a new feature which is not yet generally available for use. The agent-side component code is now present in the agent but to actually use it ahead of the General Availability release, you will need to contact your New Relic sales representative to join the preview early.

    Continuous Profiling repeatedly samples the Ruby call stacks of your running application and reports them to New Relic, so you can see which methods are consuming the most CPU time (or allocating the most objects) in production, without adding code to your app.

    To turn it on, add the stackprof and google-protobuf gems to your application's Gemfile, then set profiling.enabled to true:

    profiling.enabled: true

    With only profiling.enabled set, the agent samples CPU time every 10 milliseconds for the life of the process. These options let you tune that behavior:

    Configuration nameDefaultBehavior
    profiling.enabledfalseIf true, the agent collects and reports continuous profiling data.
    profiling.includecpuWhat to sample: cpu for CPU time, or object for object allocations.
    profiling.sample_period0.01Seconds between stack samples. Only used when profiling.include is cpu. Must be between 0.000001 and 0.999999.
    profiling.object_allocation_interval10000Object allocations between stack samples. Only used when profiling.include is object. Must be between 1000 and 999999.
    profiling.delay0Milliseconds to wait before profiling starts. 0 starts immediately.
    profiling.duration0Milliseconds to profile before stopping automatically. 0 profiles until the process exits.

    PR#3617

  • Feature: Add support for Dalli 5.1.1

    Dalli 5.1.1 added arguments to some of the methods the agent instruments, which could raise an ArgumentError on multi-key operations or cause request options to be silently dropped. Now, the agent accepts and forwards a variable number of positional and keyword arguments for these methods. PR#3683

Droits d'auteur © 2026 New Relic Inc.

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