lib/httpx/adapters/datadog.rb in httpx-1.2.6 vs lib/httpx/adapters/datadog.rb in httpx-1.3.0
- old
+ new
@@ -140,10 +140,10 @@
def configuration
@configuration ||= Datadog.configuration.tracing[:httpx, @request.uri.host]
end
- if Gem::Version.new(DATADOG_VERSION::STRING) >= Gem::Version.new("2.0.0.beta1")
+ if Gem::Version.new(DATADOG_VERSION::STRING) >= Gem::Version.new("2.0.0")
def propagate_trace_http(digest, headers)
Datadog::Tracing::Contrib::HTTP.inject(digest, headers)
end
def create_span(request)