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 178 def extra_options(options) 179 options.merge(tracer: RequestTracer) 180 end
load_dependencies(klass)
[show source]
# File lib/httpx/adapters/datadog.rb 174 def load_dependencies(klass) 175 klass.plugin(:tracing) 176 end