dd-trace-rb
dd-trace-rb copied to clipboard
Net::HTTP moved to its own gem since Ruby 3.0
The Net::HTTP Ruby library can be installed and upgraded separately from the Ruby standard library since Ruby 3.0.0.
This means that the http
integration's minimum supported version is now misleading: https://github.com/DataDog/dd-trace-rb/blob/df224aca983aa1e8b1f75b222b34f565b14c6d1d/lib/datadog/tracing/contrib/http/integration.rb#L21-L27
I has currently has its minimum version set to the current Ruby version.
We should correctly mark which version of the net-http
gem we support: rubygems.org/gems/net-http.
Also, if possible, we should rename the integration to net-http
. This can cause breaking configuration changes when implemented (e.g. c.tracing.instrument :http
will likely be changed).