Class: TRACING_MODULE::Contrib::HTTPX::Integration
- Inherits:
-
Object
- Object
- TRACING_MODULE::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
249 250 251 |
# File 'lib/httpx/adapters/datadog.rb', line 249 def self.compatible? super && version >= MINIMUM_VERSION end |
.loaded? ⇒ Boolean
245 246 247 |
# File 'lib/httpx/adapters/datadog.rb', line 245 def self.loaded? defined?(::HTTPX::Request) end |
.version ⇒ Object
241 242 243 |
# File 'lib/httpx/adapters/datadog.rb', line 241 def self.version Gem.loaded_specs["httpx"] && Gem.loaded_specs["httpx"].version end |
Instance Method Details
#default_configuration ⇒ Object
258 259 260 |
# File 'lib/httpx/adapters/datadog.rb', line 258 def default_configuration Configuration::Settings.new end |
#new_configuration ⇒ Object
254 255 256 |
# File 'lib/httpx/adapters/datadog.rb', line 254 def new_configuration Configuration::Settings.new end |
#patcher ⇒ Object
263 264 265 |
# File 'lib/httpx/adapters/datadog.rb', line 263 def patcher Patcher end |