dd-trace-rb
dd-trace-rb copied to clipboard
Datadog Tracing Ruby Client
Allow passing `web_service_name` like #2082
**Is your feature request related to a problem? Please describe.** Active Support cache spans report errors for HTTP requests that are not considered errors by the ddtrace instrumentation for the...
**What does this PR do?** When `Datadog.configure` tries to instrument a gem but that gem is not loaded it currently gives up. With this PR, it now registers a hook...
**Current behaviour** If I have a Rails application that wants to make use of [connecting Database Monitoring with APM](https://docs.datadoghq.com/database_monitoring/connect_dbm_and_apm/?tab=ruby#setup) AFAICS this is the minimum needed ddtrace configuration: ``` c.tracing.instrument :mysql2,...
**Expected behavior** When using Grape's `rescue_from :all` to capture exceptions, I expect these exceptions to be handled internally and not to appear in Datadog's Error Tracking. **Actual behavior** Despite using...
**Is your feature request related to a problem? Please describe.** Our application spends a considerable amount of time (p50 10ms, p95 25ms) adding tags to traces on every single request....
**Current behaviour** Spans created by the [Datadog::Tracing::Contrib::ActiveSupport::Notifications::Event](https://github.com/DataDog/dd-trace-rb/blob/7303a3fe39f09768d0f529446326331f15e93465/lib/datadog/tracing/contrib/active_support/notifications/event.rb#L14) module receive their service name, resource name, and tags as the span is finishing. This means that all child span of the ActiveSupport...
**Current behaviour** ddtrace occasionally causes applications to fail on boot with error: ``` can't add a new key into hash during iteration /usr/local/bundle/gems/ddtrace-0.54.2/lib/ddtrace/contrib/extensions.rb:131:in `instrument' /usr/local/bundle/gems/ddtrace-0.54.2/lib/ddtrace/contrib/rails/framework.rb:116:in `activate_action_pack!' /usr/local/bundle/gems/ddtrace-0.54.2/lib/ddtrace/contrib/rails/framework.rb:51:in `block in setup'...
**Is your feature request related to a problem? Please describe.** The problem I'm having relates to a set of concurrent operations (under a given datadog trace) which pipe a data...
**Current behaviour** Rails 6.1 added a [payload to the cache fetches](https://github.com/rails/rails/pull/40490/commits/c88205613b4bf10acac73c2c64cc26934e47f0f0#diff-545287677174ddf9aff59851be5b659a050f2ff5db316c0a9a57dcd24b72dcd0R327). The payload ultimately gets passed along to [Dalli::Quantize.format_command](https://github.com/DataDog/dd-trace-rb/blob/c4e1f9739dfeb06749479d72c34ee6a5fafd183e/lib/datadog/tracing/contrib/dalli/quantize.rb#L13) in the `*args`. `.format_command` is the following: ```ruby def format_command(operation, args)...