Class: Datadog::Contrib::HTTPX::Integration
- Inherits:
-
Object
- Object
- Datadog::Contrib::HTTPX::Integration
- Includes:
- Contrib::Integration
- Defined in:
- lib/httpx/adapters/datadog.rb
Overview
Datadog Integration for HTTPX.
Constant Summary collapse
- MINIMUM_VERSION =
MINIMUM_VERSION = Gem::Version.new(‘0.11.0’)
Gem::Version.new("0.10.2")
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.compatible? ⇒ Boolean
191 192 193 |
# File 'lib/httpx/adapters/datadog.rb', line 191 def self.compatible? super && version >= MINIMUM_VERSION end |
.loaded? ⇒ Boolean
187 188 189 |
# File 'lib/httpx/adapters/datadog.rb', line 187 def self.loaded? defined?(::HTTPX::Request) end |
.version ⇒ Object
183 184 185 |
# File 'lib/httpx/adapters/datadog.rb', line 183 def self.version Gem.loaded_specs["httpx"] && Gem.loaded_specs["httpx"].version end |
Instance Method Details
#default_configuration ⇒ Object
195 196 197 |
# File 'lib/httpx/adapters/datadog.rb', line 195 def default_configuration Configuration::Settings.new end |
#patcher ⇒ Object
199 200 201 |
# File 'lib/httpx/adapters/datadog.rb', line 199 def patcher Patcher end |