DataDog /dd-trace-rb

Datadog's client library for Ruby

★ 418⑂ 427👁 580⑃ 5,888● 755▤ 212◈ 0
RubyNOASSERTIONCreated 2016-08-24docs.datadoghq.com/tracing/
418
stars
427
forks
580
watchers
5,888
prs
755
issues
212
releases
0
discussions

README

Datadog Trace Client


![YARD documentation][api docs]

datadog is Datadog's client library for Ruby. It includes a suite of tools which provide visibility into the performance and security of Ruby applications, to enable Ruby developers to identify bottlenecks and other issues.

 Getting started

If you're upgrading from a 1.x version, check out the upgrade guide.

For a product overview, installation, and configuration check out our [documentation][public docs].

For the gem API, check out our [API documentation][api docs].

For descriptions of terminology used in APM, take a look at the [APM Terms and Concepts][APM glossary].

For contributing, checkout the [contribution guidelines][contribution docs] and [development guide][development docs].

To check that a downloaded gem file was published by this repository, see [how to verify gem provenance][provenance docs].

[public docs]: https://docs.datadoghq.com/tracing/setup/ruby/
[api docs]: https://datadog.github.io/dd-trace-rb/
[APM glossary]: https://docs.datadoghq.com/tracing/glossary/
[contribution docs]: https://github.com/DataDog/dd-trace-rb/blob/master/CONTRIBUTING.md
[development docs]: https://github.com/DataDog/dd-trace-rb/blob/master/docs/DevelopmentGuide.md
[provenance docs]: https://github.com/DataDog/dd-trace-rb/blob/master/docs/Provenance.md

Top issues

Latest release

v2.48.0 v2.48.0 2026-11-03
Added

 Dynamic Instrumentation: Limit condition, capture-expression, and template evaluation CPU time with DD_DYNAMIC_INSTRUMENTATION_EVALUATION_TIMEOUT_MS (default 50); over-budget evaluation is reported as an evaluation error. (6223)
 Open Feature: Add onboarding diagnostics for configuration delivery, provider readiness, flag evaluations, and exposures with DD_TRACE_DEBUG=true. Evaluation logs include raw data that may contain personal or sensitive information. (6519)

 Changed

 Core: Require C11 (-std=gnu11) support to build native extensions on Linux. (6596)
 Profiling: Show class and m

Snapshot: 2026-11-11T15:31:17Z · Data license Apache-2.0 · JSON