Sha256: d99105bea6694541d8208aac650308dfe950b9634e958a5f793659b2f07cb46d
Contents?: true
Size: 581 Bytes
Versions: 2
Compression:
Stored size: 581 Bytes
Contents
module Datadog module Tracing module Contrib module Faraday # Handles installation of our middleware if the user has *not* # already explicitly configured it for this correction. # # RackBuilder class was introduced in faraday 0.9.0: # https://github.com/lostisland/faraday/commit/77d7546d6d626b91086f427c56bc2cdd951353b3 module RackBuilder def adapter(*args) use(:ddtrace) unless @handlers.any? { |h| h.klass == Middleware } super end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-1.10.1 | lib/datadog/tracing/contrib/faraday/rack_builder.rb |
ddtrace-1.10.0 | lib/datadog/tracing/contrib/faraday/rack_builder.rb |