Importante
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.2.0
Feature: Introduce Hybrid Agent for OpenTelemetry Tracing Support
OpenTelemetry Tracing APIs can now be translated into New Relic telemetry with the New Relic Ruby agent's new Hybrid Agent features. This allows the
newrelic_rpmgem to behave similarly to an OpenTelemetry SDK, accepting OpenTelemetry API calls and turning them into New Relic Transactions and Segments with familiar attributes and names.The following configuration options relate to Hybrid Agent features:
Configuration name Default Behavior opentelemetry.enabled falseA global configuration option for disabling all OpenTelemetry signals sent through New Relic. opentelemetry.traces.enabled trueEnables the creation of Transaction Trace segments and timeslice metrics from OpenTelemetry Spans opentelemetry.traces.include ''A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that will have their trace signals sent to New Relic. opentelemetry.traces.exclude ''A comma-delimited list of OpenTelemetry Tracers, represented as a string (e.g. "AppTracer1,OpenTelemetry::Instrumentation::Bunny::Instrumentation"), that will not have their trace signals sent to New Relic. All known tracers for instrumentation that conflicts with New Relic instrumentation are excluded by default. Feature: Add configuration option error_collector.backtrace_truncate_location
A new configuration option has been added,
error_collector.backtrace_truncate_location, which allows the user to specify where in the backtrace to truncate when the number of frames exceedserror_collector.max_backtrace_frames. Options are'top'(removes frames from the beginning),'middle'(removes frames from the middle, preserving the beginning and end), or'end'(removes frames from the end). The default is'middle'. PR#3424Feature: Add Logging gem instrumentation
The agent will now record logs generated by the Logging gem. PR#3420
Feature: Add configuration option utilization.detect_in_parallel
A new configuration option has been added,
utilization.detect_in_parallel, which controls whether the agent uses threads when detecting cloud vendor information to speed up agent startup. When set tofalse, vendor detection runs sequentially without creating threads. The default istrue. PR#3439