Module: Datadog::Tracing::Contrib::HTTPX::Plugin::RequestMethods

Defined in:
lib/httpx/adapters/datadog.rb

Instance Method Summary collapse

Instance Method Details

#initializeObject

intercepts request initialization to inject the tracing logic.



176
177
178
179
180
181
182
# File 'lib/httpx/adapters/datadog.rb', line 176

def initialize(*)
  super

  return unless Datadog::Tracing.enabled?

  RequestTracer.new(self)
end