Enables tracing for httpx requests.
A span will be created for each request transaction; the span is created lazily only when buffering a request, and it is fed the start time stored inside the tracer object.
Classes and Modules
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/adapters/datadog.rb 176 def extra_options(options) 177 options.merge(tracer: RequestTracer) 178 end
load_dependencies(klass)
[show source]
# File lib/httpx/adapters/datadog.rb 172 def load_dependencies(klass) 173 klass.plugin(:tracing) 174 end