Merge branch 'chore/avoid-loading-datadog-dogstatsd' into 'master'

Do not load Datadog tracing when dogstatsd is present

See merge request os85/httpx!361
This commit is contained in:
HoneyryderChuck 2025-01-02 23:01:07 +00:00
commit a4bebf91bc

View File

@ -61,6 +61,6 @@ require "httpx/session_extensions"
# load integrations when possible
require "httpx/adapters/datadog" if defined?(DDTrace) || defined?(Datadog)
require "httpx/adapters/datadog" if defined?(DDTrace) || defined?(Datadog::Tracing)
require "httpx/adapters/sentry" if defined?(Sentry)
require "httpx/adapters/webmock" if defined?(WebMock)