ddtrace breaking changes
Updated December 4, 2026
On this page
Latest version 1.23.3. Source repository
Its 0.50.0 release drops Ruby 2.0. Ruby end of life dates.
- From 0.54.0 to 1.0.0: 62 breaking changes in 2 versions.
- From 0.4.0 to 1.0.0: 136 breaking changes in 38 versions.
ddtrace 1.0.0 breaking changes
- Removed
Rails 3.0 and 3.1 are no longer supported. github.com - Removed
Agent API v0.4 is used by default. github.com - Removed
Datadog.configure
Use Datadog::Tracing.configure_onto to configure a client. github.com - Removed
Datadog.Context
Code that reads or modifies trace state through Datadog::Context must use the public trace API instead. github.com - Removed
Datadog.tracer
Code calling Datadog.tracer must switch to the methods in Datadog::Tracing. github.com - Removed
Datadog.tracer.active_root_span
Use Datadog::Tracing.active_trace instead. github.com - Removed
Datadog.tracer.active_span.context.sampling_priority
Use Datadog::Tracing.keep! or Datadog::Tracing.reject! (or trace.reject!) to set the sampling decision. github.com - Removed
DD_.{integration}_ANALYTICS_ENABLED
Use the DD_TRACE_ prefixed variables instead. github.com - Removed
DD_PROPAGATION_INJECT_STYLE
Use DD_PROPAGATION_STYLE_INJECT and DD_PROPAGATION_STYLE_EXTRACT instead. github.com - Removed
ddtrace.opentelemetry
Code that requires ddtrace/opentelemetry must drop that require in 1.0. github.com - Removed
orm_service_name
Remove this option from your configuration. github.com - Removed
Pin.get_from
Use Datadog::Tracing.configure_for to read configuration from a client. github.com - Removed
Pipeline.before_flush
Use Datadog::Tracing.before_flush instead. github.com - Removed
profiling.exporter.transport_options
This setting is no longer available. github.com - Removed
runtime_metrics
Use runtime_metrics.enabled instead. github.com - Removed
SpanOperation.context
Use Datadog::Tracing.active_trace to reach trace state. github.com - Removed
SpanOperation.parent
Not supported in 1.0. github.com - Removed
SpanOperation.sampled
Use Datadog::TraceOperation#sampled? instead. github.com - Removed
Trace agent API v0.2
v0.4 is now used by default; no action needed unless v0.2 was forced. github.com - Removed
tracer
Remove this option from your configuration. github.com - Removed
Tracer.active_correlation
Use Datadog::Tracing.correlation instead. github.com - Removed
Tracer.active_correlation.to_log_format
Use Datadog::Tracing.log_correlation instead. github.com - Removed
Tracer.active_root_span
Use Datadog::Tracing.active_trace instead. github.com - Removed
Tracer.build_span
Use Datadog::Tracing.trace instead. github.com - Removed
Tracer.call_context
Use Datadog::Tracing.active_trace to access the active trace. github.com - Removed
Tracer.configure
No replacement is provided. github.com - Removed
Tracer.services
No replacement is provided. github.com - Removed
Tracer.set_service_info
No replacement is provided. github.com - Removed
Tracer.start_span
Use Datadog::Tracing.trace instead. github.com - Removed
use :rails, cache_service
Configure the underlying instrumentation (active_support, action_pack, active_record, active_job) directly. github.com - Renamed
Update references to the new namespaces listed in the appendix. github.com - Renamed
analytics.enabled
Set tracing.analytics.enabled instead. github.com - Renamed
c.tracer.hostname
Update Datadog.configure blocks to set agent.host instead of tracer.hostname. github.com - Renamed
c.use
Replace c.use with the product-namespaced instrument call, such as c.tracing.instrument or c.ci.instrument. github.com - Renamed
Contrib.Configurable.default_configuration
Use new_configuration in the new namespace. github.com - Renamed
Correlation.to_s
Use Datadog::Tracing.log_correlation instead. github.com - Renamed
Datadog.configuration.registry
Use Datadog.registry instead. github.com - Renamed
Datadog.GRPCPropagator
Update references to the new namespace. github.com - Renamed
Datadog.HTTPPropagator
Update references to the new namespace. github.com - Renamed
Datadog.Pipeline.before_flush
The block now receives a TraceSegment instead of an Array of spans. github.com - Renamed
DD_TRACE_CI_MODE_ENABLED
Set DD_TRACE_CI_ENABLED instead of DD_TRACE_CI_MODE_ENABLED. github.com - Renamed
ddtrace.opentracer
Require datadog/opentracer instead of ddtrace/opentracer. github.com - Renamed
ddtrace.profiling.preload
Require datadog/profiling/preload instead of ddtrace/profiling/preload. github.com - Renamed
tracer.hostname
Set agent.hostname in the configuration block. github.com - Renamed
tracer.port
Set agent.port in the configuration block. github.com - Behavior changed
Tag names such as http.response.headers.content-type now keep hyphens instead of underscores. github.com - Behavior changed
c.tracing.log_injection
Log injection now defaults to true; set tracing.log_injection = false to keep it off. github.com - Behavior changed
Datadog.Tracing.trace
The block receives span as SpanOperation and trace as TraceOperation, not a Datadog::Span. github.com - Behavior changed
out.host
The tag no longer includes the port. github.com - Behavior changed
RuleSampler
Update rule sampler code to use TraceOperation. github.com
And 7 more in this version. Sign up to see every change
ddtrace 1.0.0.beta2 breaking changes
- Removed
The OpenTelemetry extensions are gone; use OTLP ingest in the Datadog Agent instead. github.com - Renamed
The profiling output file code_provenance.json is now named code-provenance.json. github.com - Default changed
AWS metrics are enabled by default now; users who do not want them must turn them off. github.com - Configuration changed
AppSec environment variable names were changed for consistency; check any AppSec env vars you set. github.com - Configuration changed
Access to configuration settings moved into a namespace, so code that reads or sets them must be updated. github.com
ddtrace 0.54.0 breaking changes
- Behavior changed
Sampling decisions made by RuleSampler now carry the USER_KEEP or USER_REJECT priority, which can change which traces are kept or dropped. github.com - Configuration changed
The 5 series of dogstatsd-ruby now requires version 5.3 or later. Projects pinning an older 5.x dogstatsd-ruby must upgrade it. github.com
ddtrace 0.53.0 breaking changes
- Renamed
extract_trace_resource
The profiler option extract_trace_resource was renamed to endpoint.collection.enabled. Code that sets the old name must switch to the new one. github.com
ddtrace 0.52.0 breaking changes
- Removed
The profiler no longer switches to agentless reporting automatically. Users who relied on that must configure how profiling data is sent. github.com - Behavior changed
Profiling data is no longer reported when there is less than 1 second of data to report. github.com - Behavior changed
The Grape span resource is set at the beginning of the request instead of elsewhere, which changes the resource value seen on spans. github.com - Behavior changed
Sinatra spans get their resource at the beginning of requests, and the fallback resource is set at the end, which changes span resource values. github.com - Behavior changed
The Rails span resource is set at the beginning of the request instead of elsewhere, which changes the resource value seen on spans. github.com - Behavior changed
grpc.server
The peer.service tag is no longer set on grpc.server spans, so code relying on that tag will see it missing. github.com
ddtrace 0.51.0 breaking changes
- Renamed
Datadog.Runtime
The Datadog::Runtime modules were moved to Datadog::Core::Environment. The notes say these are internal and may change at any time, but code that referenced them must switch to the new names. github.com - Behavior changed
ddtrace.auto_instrument
Requiring ddtrace/auto_instrument now also starts the profiler. Code that loads this file may see profiling begin automatically. github.com
Older versions
33 older versions, each with its first changes. Sign up to see every change
Show 33 older versions
ddtrace 0.50.0 breaking changes
- Removed
Ruby 2.0 is no longer supported and Ruby 2.1 is now the minimum. Users on Ruby 2.0 should keep using a version before 0.50.0. github.com - Renamed
Thread.native_thread_id
Thread#native_thread_id was renamed to #pthread_thread_id. Code calling the old name must switch to the new one. github.com
ddtrace 0.48.0 breaking changes
- Default changed
Resque workers are instrumented automatically without configuration. Code that does not want this tracing must opt out. github.com
ddtrace 0.47.0 breaking changes
- Behavior changed
c.use active_record, describe:
Connections previously left unmatched may now match a describe block, so check existing database configuration matching after upgrading. github.com - Signature changed
Datadog.Contrib.Configuration.Resolver
Custom configuration resolvers that inherit from Datadog::Contrib::Configuration::Resolver must be updated to fulfill the new interface. github.com
ddtrace 0.46.0 breaking changes
- Removed
APP_ANALYTICS
The APP_ANALYTICS setting was removed from the tests instrumentation. github.com - Removed
Datadog.DeprecatedPin
The deprecated Datadog::DeprecatedPin class has been removed; code that uses it will fail. github.com
And 3 more in this version.
ddtrace 0.44.0 breaking changes
- Default changed
The default reporting frequency for Runtime Metrics was lowered from every 1 second to every 10 seconds. Code or dashboards that depend on the old frequency need to be updated. github.com
ddtrace 0.43.0 breaking changes
- Behavior changed
TokenBucket.effective_rate
The effective rate calculation for the token bucket was updated, so code relying on its previous values may see different results. github.com
ddtrace 0.40.0 breaking changes
- Removed
Ruby 1.9 support ended because it reached End-Of-Life. Users on Ruby 1.9 must upgrade their Ruby version to keep using the package. github.com - Behavior changed
Racecar consumers now use a single top level span instead of the previous span layout. Code that depends on the old span structure may need to be updated. github.com
And 1 more in this version.
ddtrace 0.39.0 breaking changes
- Default changed
The default logger level is now INFO instead of WARN, so code relying on the old default will see more log output. Set the level explicitly if you need the previous behavior. github.com - Configuration changed
Environment variable names were aligned with other Datadog tracing libraries. Code or deployment settings that use the old variable names may need to be updated. github.com
ddtrace 0.38.0 breaking changes
- Behavior changed
The Sidekiq client middleware is now the same for client and server, so client-side jobs are instrumented differently than before. Check any custom Sidekiq middleware setup that assumed the old behavior. github.com - Behavior changed
The Faraday default connection is now auto-instrumented, so existing Faraday calls will produce traces without extra setup. Review any code that depends on the previous untraced behavior. github.com
ddtrace 0.37.0 breaking changes
- Removed
DeprecatedPin.tracer=
DeprecatedPin#tracer= is removed. Stop passing a tracer: argument to DeprecatedPin initializers and use the global tracer instance configuration instead. github.com - Removed
Pin.tracer=
Pin#tracer= is removed. Stop passing a tracer: argument to Pin initializers and use the global tracer instance configuration instead. github.com
ddtrace 0.36.0 breaking changes
- Behavior changed
Trace components are now set up only once during setup instead of being re-initialized repeatedly. Code that relied on repeated re-initialization may need review. github.com
ddtrace 0.35.0 breaking changes
- Behavior changed
The release changes how env, service and version are set, deriving them from tags. Check that existing service, env and version settings still produce the values you expect. github.com
ddtrace 0.33.0 breaking changes
- Behavior changed
Instrumentation now enforces minimum version requirements for the libraries it patches, so older versions of those libraries will no longer be instrumented. github.com - Configuration changed
The gem now requires RubyGems 2.0.0 or later. github.com
ddtrace 0.32.0 breaking changes
- Default changed
RuleSampler
RuleSampler is now the default sampler, though the release states no behavior changes by default. Check your sampling setup if you rely on the previous default. github.com
ddtrace 0.31.0 breaking changes
- Renamed
Datadog.Tracer
Logging was moved from Datadog::Tracer to Datadog::Logger. Code that calls the logging API on the tracer should switch to Datadog::Logger. github.com - Behavior changed
Numeric tags are now stored as metrics instead of tags, which changes how they appear in traces. github.com
And 2 more in this version.
ddtrace 0.29.0 breaking changes
- Removed
Legacy code that supported Ruby 1.9 was removed, so Ruby 1.9 is no longer supported. github.com - Behavior changed
The Rack integration reads request start headers from more sources than before, so traces may now pick up timing from headers that were previously ignored. github.com
And 2 more in this version.
ddtrace 0.27.0 breaking changes
- Removed
Support for Ruby below 2.0 is removed in this release. Users on Ruby 1.9 or other versions below 2.0 must upgrade their Ruby runtime before using this version. github.com
ddtrace 0.26.0 breaking changes
- Removed
Datadog.HTTPTransport
Datadog::HTTPTransport and related components were removed in this release. Code that references them must stop using them. github.com
ddtrace 0.25.0 breaking changes
- Renamed
Datadog.Ext.ForcedTracing
The ForcedTracing name was renamed to ManualTracing; code referencing the old name must switch to the new one. github.com
ddtrace 0.23.0 breaking changes
- Removed
The release removes the obsolete service telemetry feature. Code that depends on it must stop relying on it. github.com
ddtrace 0.21.0 breaking changes
- Configuration changed
Global configuration for tracing was refactored into the configuration API, so code that set it the old way may need updating. github.com
ddtrace 0.20.0 breaking changes
- Default changed
Distributed tracing is turned on without configuration, so code relying on it being off must now disable it explicitly. github.com
ddtrace 0.19.0 breaking changes
- Default changed
Priority sampling is on by default in this release. The notes do not describe a code change, but code that relied on the previous default may see different sampling. github.com
ddtrace 0.18.0 breaking changes
- Behavior changed
A configuration lookup that previously returned nil now returns the default configuration. Code that checks for nil must be updated. github.com - Behavior changed
sql.active_record
The sql.active_record event payload gains a :connection entry. Subscribers that expect the original payload shape should be checked. github.com
And 1 more in this version.
ddtrace 0.14.0 breaking changes
- Behavior changed
The Resque integration flushes traces when a job finishes instead of using SyncWriter. Code relying on the previous timing of trace writes may behave differently. github.com - Configuration changed
The release changed the configuration settings for integrations. Existing integration configuration may need to be updated; the notes do not list the specific settings. github.com
ddtrace 0.13.0 breaking changes
- Behavior changed
Hash quantization truncates arrays with nested objects in this release. Code that relies on the previous quantized output may need to be updated. github.com
ddtrace 0.12.0 breaking changes
- Renamed
rails.db.x
Tags previously named rails.db.x are now named active_record.db.x. Update any dashboards or queries that use the old names. github.com - Behavior changed
A single trace context now has a hard limit of 100,000 spans. github.com
And 3 more in this version.
ddtrace 0.11.0 breaking changes
- Removed
Rails.configuration.datadog_trace
The old configuration API is no longer available. Applications using it must migrate to the new Datadog.configure API. github.com - Behavior changed
c.use :rails
The Rails controller service is now merged with the default Rails service. To keep it separate, set controller_service in the Datadog configuration. github.com
And 2 more in this version.
ddtrace 0.10.0 breaking changes
- Renamed
sinatra.default_service
The Sinatra integration option default_service was renamed to service_name. Update configuration calls to use the new name. github.com - Configuration changed
datadog_tracer
Sinatra tracing is no longer configured through the datadog_tracer settings object; use Datadog.configure with c.use :sinatra instead. github.com
ddtrace 0.8.0 breaking changes
- Removed
Span.finish_at
The finish_at method was removed after being deprecated in 0.7.2. Use finish instead, which takes an optional timestamp argument. github.com - Behavior changed
Span
The start time is now set when start_span is called on the Tracer. Custom integrations that relied on the constructor setting it must change. github.com
ddtrace 0.6.0 breaking changes
- Behavior changed
Request resources from the net/http integration are now the method (e.g. GET) rather than the URL path, which temporarily changes reported stats. Update any dashboards or filters that depend on the old resource names. github.com
ddtrace 0.5.0 breaking changes
- Behavior changed
Redis instrumentation in the Rails integration is no longer enabled automatically and now honors Rails settings. Users who relied on automatic activation must enable it explicitly. github.com - Default changed
The default port is now 8126, which requires Datadog Agent 5.11.0 or above. Code relying on the old default port must update its configuration. github.com
ddtrace 0.4.0 breaking changes
- Default changed
auto_instrument
Rails auto-instrumentation no longer turns on by itself. Enable it manually in your initializer through the datadog_trace configuration. github.com - Configuration changed
Change the Gemfile source to https://rubygems.org. New versions will not be published to the previous repository. github.com
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.