Releases: DataDog/dd-trace-rb
Releases · DataDog/dd-trace-rb
0.6.1
New features
- Support for global tags, contributed by Robert Coker (#92)
- Logger enhancements, it's now overridable and log messages are by default marked as coming from
ddtrace
(#99)
Bugfixes
- [redis] fixed the type of the Redis service, now reports as a database (#97)
Read the full changeset
0.6.0
New features
- Support for Ruby 1.9 (#83)
Bugfixes
- [sidekiq] correctly handling wrappers such as Active Job and reporting the right resource #90 (reported & fixed by @tpendragon)
- [sidekiq] fixed initialize issue #91 (reported & fixed by @tpendragon)
- [active_record] reporting
:cached
key when available (fixes 0 msec span issue #57) - [rails] reporting controller exceptions as errors in stats (#95)
Breaking changes
- [net/http] using METHOD and not URL as a resource. This temporarily break stats as the request
GET /index
now reports asGET
instead of/index
(#98)
Read the full changeset
0.5.0
New features
Bugfixes
- [rails] Redis instrumentation honors Rails settings; now it's not automatically activated and it works well with external processes like Sidekiq (#86)
Breaking changes
- Default port
7777
has been replaced with the new8126
(available from Datadog Agent 5.11.0 and above) (#82)
Migrate from 0.4.x to 0.5.0
- Datadog Agent 5.11.0 or above is required.
Read the full changeset
0.4.3
Bugfixes
- [rails] discard all parameters from the
cache_store
configuration to exclude the connection address (#77) - [elasticsearch] safe-guard when the body is already encoded by a third party library; this ensures that ElasticSearch query is properly executed even if there are tracing errors (#78)
Read the full changeset
0.4.2
Documentation
- Moving our documentation to http://www.rubydoc.info/gems/ddtrace/
Read the full changeset
0.4.1
0.4.0
Improvements
- The gem is available in the
rubygems.org
repository - Extended support to Ruby 2.4.0
- Extended support to Passenger 5.0+
- Sinatra web application library is supported; requests and templates
rendering are instrumented. See Sinatra documentation for more details. - Ruby
net/http
module is instrumented so that HTTP calls are traced when
the built-in module is used. See HTTP documentation for more details.
Bugfixes
- Use
alias_method
in Redis instrumentation to prevent recursion when
other libraries are patching the same class (#56) - Prevent conditional requires when
ActiveRecord
is not used (#62) - Adding Passenger support for the underlying cache system. Now traces are
properly generated whenRails.cache
is used (#64) - Reducing logs verbosity (#65) when Rails is auto instrumented
Breaking changes
- Rails auto-instrumentation is disabled by default. You have to manually
activate the Rails instrumentation in your initializer. See Rails documentation
for more details (#55)
Read the full changeset
Migrate from 0.3.1 to 0.4.0
- The official
rubygems.org
repository should be used and new versions will not be available in the previous repository. To receive new updates, change yourGemfile
as follows:
source 'https://rubygems.org'
# tracing gem
gem 'ddtrace', '0.4.0'
# ...other gems...
- If you're using the Rails integration, update your
config/initializers/datadog-tracer.rb
so that the
auto_instrument
andauto_instrument_redis
are both enabled (or
disabled according to your choice). You can find an example in the following
code:
# config/initializers/datadog-tracer.rb
# this condition activates or deactivates the Rails auto instrumentation
# according to your environment; change it so that it reflects your
# application requirements
tracer_status = Rails.env.staging? || Rails.env.production?
Rails.configuration.datadog_trace = {
auto_instrument: tracer_status,
auto_instrument_redis: tracer_status,
default_service: 'my-rails-app',
# ...other configurations...
}
0.3.1
Bugfixes
- ActiveSupport integration fixes
- Fixed span ordering problems, which could lead to inconsistent data (includes #48)
For more info, check our updated docs: http://gems.datadoghq.com/trace/docs/
See the full changeset
0.3.0
Major changes
- Redis support
- Elastic Search support
- Use only one thread, instead of two, to send data to the trace agent
- Rails users who want to send their traces to some other host than localhost should now use
trace_agent_hostname
in tracer configuration - Bug fixes, including #42
For more info, check our updated docs: http://gems.datadoghq.com/trace/docs/
See the full changeset
0.2.0
Major changes
- added
msgpack
gem as a dependency - using Trace Agent API
v0.3
that supports both JSON and Msgpack formats - provided
JSONEncoder
andMsgpackEncoder
that are switched at runtime the API v0.3 is not reachable (404) MsgpackEncoder
is the current default encoder
Read the full changeset