Class: Datadog::Tracing::Contrib::HTTPX::Integration
- Inherits:
-
Object
- Object
- Datadog::Tracing::Contrib::HTTPX::Integration
- Includes:
- Contrib::Integration
- Defined in:
- lib/httpx/adapters/datadog.rb
Overview
Datadog Integration for HTTPX.
Constant Summary collapse
- MINIMUM_VERSION =
Gem::Version.new("0.10.2")
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.compatible? ⇒ Boolean
341 342 343 |
# File 'lib/httpx/adapters/datadog.rb', line 341 def self.compatible? super && version >= MINIMUM_VERSION end |
.loaded? ⇒ Boolean
337 338 339 |
# File 'lib/httpx/adapters/datadog.rb', line 337 def self.loaded? defined?(::HTTPX::Request) end |
.version ⇒ Object
333 334 335 |
# File 'lib/httpx/adapters/datadog.rb', line 333 def self.version Gem.loaded_specs["httpx"] && Gem.loaded_specs["httpx"].version end |
Instance Method Details
#new_configuration ⇒ Object
345 346 347 |
# File 'lib/httpx/adapters/datadog.rb', line 345 def new_configuration Configuration::Settings.new end |
#patcher ⇒ Object
349 350 351 |
# File 'lib/httpx/adapters/datadog.rb', line 349 def patcher Patcher end |