module Datadog::Tracing::Contrib::HTTPX::Plugin::RequestMethods

  1. lib/httpx/adapters/datadog.rb

Methods

Public Class

  1. new

Public Class methods

new(*)

intercepts request initialization to inject the tracing logic.

[show source]
    # File lib/httpx/adapters/datadog.rb
176 def initialize(*)
177   super
178 
179   return unless Datadog::Tracing.enabled?
180 
181   RequestTracer.new(self)
182 end