{"full_name":"DataDog/dd-trace-rb","owner":"DataDog","name":"dd-trace-rb","shard":"1","url":"https://github.com/DataDog/dd-trace-rb","description":"Datadog's client library for Ruby","homepage":"https://docs.datadoghq.com/tracing/","topics":["datadog","tracing","apm","distributed-tracing","ruby","hacktoberfest","debugging","profiling"],"tag_pages":["apm","debugging","distributed-tracing","hacktoberfest","profiling","ruby","tracing"],"language":"Ruby","license":"NOASSERTION","avatar":"https://avatars.githubusercontent.com/u/365230?v=4","created_at":"2016-08-24T20:30:56Z","pushed_at":"2026-11-15T04:46:29Z","metrics":{"stars":419,"forks":428,"watchers":580,"issues":758,"prs":5911,"releases":213,"issues_open":131,"issues_closed":627,"prs_open":138,"prs_closed":779,"prs_merged":4994,"discussions":0},"growth":{"day":{"stars":0,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[418,419,419,419,419,419],"forks":[427,428,428,428,428,428],"watchers":[580,580,580,580,580,580],"issues_open":[128,130,131,131,131,131],"prs_open":[132,132,131,134,137,138]},"boards":{},"same_owner":[],"issues":[{"number":2088,"title":"Sampling not working in 1.1.0","comments":23,"created_at":"2022-06-14T15:14:10Z"},{"number":4626,"title":"[BUG]: Updating to 2.14.0 lead to high memory and termination of karafka worker","comments":21,"created_at":"2025-05-06T13:40:36Z"},{"number":3359,"title":"ActiveRecord SQL spans don't have the same service name as Instantiation spans","comments":20,"created_at":"2024-01-02T21:56:19Z"},{"number":2511,"title":"GraphQL instrumentation and service name","comments":17,"created_at":"2022-12-28T14:55:03Z"},{"number":2089,"title":"Unable to set a graphql instrumentation `service_name` setting: 1.1.0","comments":14,"created_at":"2022-06-15T02:20:27Z"},{"number":764,"title":"Configure  `active_record` as part of `rails`","comments":14,"created_at":"2019-05-24T00:53:04Z"},{"number":3820,"title":"The Redis integration can't distinguish final errors from retried errors","comments":13,"created_at":"2024-08-01T07:35:29Z"},{"number":2740,"title":"Accessing the root span to mark it as \"error\"","comments":13,"created_at":"2023-04-04T08:27:50Z"}],"discussions":[],"latest_release":{"name":"v2.49.0","tag":"v2.49.0","published_at":"2026-11-13T11:26:47Z","body":"### Added\n\n* Tracing: Add a `web_service_name` option to the Rails integration, customizing the service name of frontend server request queuing spans; it defaults to `'web-server'`. (#2716) (@Surgo)\n* Open Feature: Add per-subject experimentation opt-out with `DD_FEATURE_FLAGS_EXPERIMENTATION_OPT_OUT_MODE=immediate|future_experiments_only` and the `dd_experimentation_opt_out_at` evaluation context attribute. (#6521)\n* Open Feature: Add `Datadog::OpenFeature::ExposureHook`, which passes each flag evaluation with its exposure decision and the selected split's features to application code; register it with `config.hooks << hook` in `OpenFeature::SDK.configure`. (#6610)\n* Open Feature: Add `DD_FEATURE_FLAGS_EXPOSURES_DATADOG_LOGGING_ENABLED` (default `true`); set it to `false` to stop sending exposures to Datadog while `Datadog::OpenFeature::ExposureHook` keeps receiving them. (#6610)\n\n### Changed\n\n* Core: Shorten the path in debug and error log lines from the default logger. (#6650)\n* Tracing: Enable partial flushing by default so unfinished traces flush completed spans at the 500-span threshold. Restore complete-trace flushing with `c.tracing.partial_flush.enabled = false` in `Datadog.configure`. (#6572)\n* Dynamic Instrumentation: Live Debugger snapshots now capture all or no probes within one APM trace. (#6118)\n* Dynamic Instrumentation: Send the probed method name of snapshots as `logger.method_name` instead of `logger.method`, so the Logger Method facet in Log Management shows it; update queries, monitors, and dashboards that filter to use `@logger.method_name`. (#6539)\n* Dynamic Instrumentation: Send snapshots larger than 1 MB with their largest, most deeply nested captured values marked as pruned; snapshots that still exceed 1 MB after pruning are dropped. (#6655)\n* Open Feature: Send an exposure only after a flag evaluation succeeds, so a result rejected by an `after` hook is not reported; exposures now require `openfeature-sdk` 0.5.1 or later and the Datadog provider registered directly. (#6610)\n\n### Fixed\n\n* Tracing: Fix a thread stuck at 100% CPU when `Rack::Timeout` or another non-`StandardError` exception interrupts a starting span. (#6607)\n* Tracing: Fix the Rails integration replacing `service_name`, `middleware_names`, `distributed_tracing` and `request_queuing` set on the Rack integration when they are not set on the Rails integration. (#6644)\n* Tracing: Add support for the `on_error` option to the `trilogy` integration. (#6424) (@ctotheameron)\n* Profiling: Fix a rare crash when a profiled method is refined. (#6680)\n* AppSec: Fix missing RASP SQL injection checks for `mysql2` adapter on `ActiveRecord` before 7.1 and `postgresql` adapter before 7.0. (#6630)\n* AppSec: Fix `WAF::InstanceFinalizedError` from `ActiveRecord` queries that run in `ActionController::Live` threads with RASP enabled. (#6648)\n* Open Feature: Prevent evaluation context keys containing NUL from matching ordinary feature flag targeting attributes, including when experimentation opt-out is disabled. (#6521)","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}