mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-04 00:00:37 -04:00
faraday: do not trace on configuration is disabled
This commit is contained in:
parent
016ed04f61
commit
6ca17c47a0
@ -39,6 +39,8 @@ module Datadog::Tracing
|
|||||||
|
|
||||||
# initializes tracing on the +request+.
|
# initializes tracing on the +request+.
|
||||||
def call(request)
|
def call(request)
|
||||||
|
return unless configuration(request).enabled
|
||||||
|
|
||||||
start_time = nil
|
start_time = nil
|
||||||
|
|
||||||
# request objects are reused, when already buffered requests get rerouted to a different
|
# request objects are reused, when already buffered requests get rerouted to a different
|
||||||
|
Loading…
x
Reference in New Issue
Block a user