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
331 332 333 |
# File 'lib/httpx/adapters/datadog.rb', line 331 def self.compatible? super && version >= MINIMUM_VERSION end |
.loaded? ⇒ Boolean
327 328 329 |
# File 'lib/httpx/adapters/datadog.rb', line 327 def self.loaded? defined?(::HTTPX::Request) end |
.version ⇒ Object
323 324 325 |
# File 'lib/httpx/adapters/datadog.rb', line 323 def self.version Gem.loaded_specs["httpx"] && Gem.loaded_specs["httpx"].version end |
Instance Method Details
#new_configuration ⇒ Object
335 336 337 |
# File 'lib/httpx/adapters/datadog.rb', line 335 def new_configuration Configuration::Settings.new end |
#patcher ⇒ Object
339 340 341 |
# File 'lib/httpx/adapters/datadog.rb', line 339 def patcher Patcher end |