dd-trace-rb
dd-trace-rb copied to clipboard
Datadog Tracing Ruby Client
An updated version of #1290, this adds ActiveStorage instrumentation via `ActiveSupport::Notifications` just like the other Rails integrations. # To-do - [x] add `@public_api` tags to the proper methods/modules to match...
When I run the specs for `traces-backend-datadog` which specifically only pulls in `datadog/tracing` it fails without also having `require 'ddtrace'`. Without `require 'ddtrace'` I get the error below when running...
Setting the `service_name` configuration option in the graphql instrumentation is broken due to a typo in the configuration settings class https://github.com/DataDog/dd-trace-rb/blob/master/lib/datadog/tracing/contrib/graphql/configuration/settings.rb#L30 Configuration: ```bash Datadog.configure do |c| c.service = "test-app" c.env...
Per the [datadog documentation](https://docs.datadoghq.com/tracing/setup_overview/setup/ruby/), there is support for Faraday, Excon, http.rb and httpclient - but not for [savon](https://github.com/savonrb/savon). Can savon support be added so that it shows up in APM...
I have this setup: ```ruby config.tracing.instrument :rails, service_name: "rails-app", cache_service: "rails-cache" config.tracing.instrument :active_job, service_name: "active_job" ``` However, active job traces end up in the `rails-app` service. I expected them in...
I want to measure how much a request waits in a queue until it is served by an app. There is a way to generate traces that include the time...
Hi! I'm using: > ruby 2.7.4 > Rails 7.0.3 > ddtrace 0.54.2 This is my config: ``` # /config/initializers/datadog.rb require 'ddtrace' Rails.application.config.to_prepare do Datadog.configure do |c| c.analytics_enabled = true c.runtime_metrics_enabled...
Tracking a lot of method calls can be cumbersome in complex systems. Imagine repeating over and over the same piece of code for dozens of classes and methods. ```ruby #...
Spotted that we're missing support for specifying a UDS path via `DD_TRACE_AGENT_URL`, which other Datadog libraries support.
With ```ruby Datadog.configure do |c| c.tracer env: Rails.env c.use :rails, service_name: "myapp-rails" end ``` I see the following services instrumented in Datadog: ``` - active_record - myapp-rails - myapp-rails-cache -...