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
#2088Sampling not working in 1.1.023 comments · 2022-06-14#3359ActiveRecord SQL spans don't have the same service name as Instantiation spans20 comments · 2024-01-02#4626[BUG]: Updating to 2.14.0 lead to high memory and termination of karafka worker18 comments · 2025-05-06#2511GraphQL instrumentation and service name17 comments · 2022-12-28#2089Unable to set a graphql instrumentation `service_name` setting: 1.1.014 comments · 2022-06-15#764Configure `active_record` as part of `rails`14 comments · 2019-05-24#3820The Redis integration can't distinguish final errors from retried errors13 comments · 2024-08-01#2740Accessing the root span to mark it as "error"13 comments · 2023-04-04
Latest release
v2.48.0 v2.48.0 2026-11-03Added 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