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.
v9.19.0
Feature: Add Thread ID as attribute to all spans
The agent will now record the Thread ID as an attribute on each span. PR#3122
Feature: Add support for W3C TraceContext Trace Flag
Previously, the agent would not use the trace flag field of the traceparent header for sampling decisions. This could lead to fragmented traces in the UI. While the default behavior remains unchanged, two new configuration options,
distributed_tracing.sampler.remote_parent_sampled
anddistributed_tracing.sampler.remote_parent_not_sampled
, have been introduced to allow more control over the way sampling decisions are made. PR#3135Bugfix: Include request.uri in Transaction events by default
The New Relic data dictionary expects Transaction events to have the
request.uri
attribute. The Ruby agent now fulfills this expectation. If you would like to excluderequest.uri
from Transaction events, you can do so by settingtransaction_events.attributes.exclude
to'request.uri'
. PR#3103Bugfix: Fix error in Active Job instrumentation when using perform_all_later
Previously, when Active Job's
perform_all_later
method was called and the agent was running, aNoMethodError
would be raised with the messageundefined method 'queue_name' for nil
. The error has been fixed and the name of the segment will reflect the first job in the queue. Our thanks goes to @tan-linx for bringing this to our attention and providing a fix. PR#3110