dd-trace-rb
dd-trace-rb copied to clipboard
Datadog Tracing Ruby Client
In our Java Applications we do trace **caught** exceptions the following way: ```java public static void trace(Throwable throwable) { try { final Span span = GlobalTracer.get().activeSpan(); if (span instanceof MutableSpan)...
**What does this PR do?** Environment variable should be returning a String, this was hack to make our rails test suite functional. This PR tried to cleanup some of them,...
**What does this PR do?** Adds pubsub distributed tracing, which was asked in https://github.com/DataDog/dd-trace-rb/issues/2556. This is an early try, but I wanted to see if there was interest in this...
**What does this PR do?** **Motivation** **Additional Notes** **How to test the change?**
**EDIT: While disabling the new profiler seems to fix the issue, there might be an underlying problem related to different libssl due to different libssh2 that is just heightened with...
This is in reference to this action here: https://github.com/DataDog/dd-trace-rb/blob/b69dca3532453e99b5bd26183bf89bedeab9a8aa/lib/ddtrace/contrib/rails/action_controller_patch.rb . I'm encountering this inconsistency, at least according to my expectation, where the action controller tracer only pertains to the action...
Right now, if no `service_name` is specified for a `racecar` trace, the default will not come from the `DD_SERVICE` env var, but will rather be the static string `"racecar"`. This...
**What does this PR do?** trace http connections, in addition to the already existing request traces **Motivation** https://github.com/DataDog/dd-trace-rb/issues/2838 **How to test the change?**   
For Single Span Sampling, when no rate limit is provided, we should not include the `_dd.span_sampling.max_per_second`. Before this PR, `_dd.span_sampling.max_per_second` was included with a default value of `-1`, meaning unlimited....
**Is your feature request related to a problem? Please describe.** I'm debugging network connectivity issues and lack visibility. For http requests, Datadog provides traces for the request, but not the...