0.7.0
New features
- add a Rack middleware that can be used with any web framework compliant with the Rack interface (#111, #116 - docs)
- add Grape auto instrumentation to trace all endpoints execution and
before-after
filters (#117 - docs) - Rails integration can activate the Grape instrumentation using the
auto_instrument_grape
flag in the Rails initializer file (docs)
Major changes
- Rails uses out of the box the Rack middleware so that the full request processing is traced. Before, only the Rails controller was instrumented, making difficult to see anything that happens outside of the Rails framework. While this changes how some traces are displayed, it doesn't introduce any breaking change with previous versions (#112, #118, thanks @Ferdy89 for the contribution!). However, you can expect changes around the displayed names/URLs.
Bugfixes
- in some cases, Rails app would drop spans because they would have no service and not be properly instrumented. This, causing wrong stats and partial traces. It's now fixed with the new rack support (see above, #112)
Span
instances can be finished only once (#109)- stacktraces are constructed with proper newline characters (#108 and #115, contributed by @Ferdy89 )
ddtrace
logs are easier to isolate from your apps log (#107)
Read the full changeset