lib/ddtrace/contrib/rails/railtie.rb in ddtrace-0.10.0 vs lib/ddtrace/contrib/rails/railtie.rb in ddtrace-0.11.0.beta1

- old
+ new

@@ -8,11 +8,12 @@ config.app_middleware.insert_before(0, Datadog::Contrib::Rack::TraceMiddleware) config.app_middleware.use(Datadog::Contrib::Rails::ExceptionMiddleware) config.after_initialize do |app| Datadog::Contrib::Rails::Framework.configure(config: app.config) - Datadog::Contrib::Rails::Framework.auto_instrument - Datadog::Contrib::Rails::Framework.auto_instrument_redis - Datadog::Contrib::Rails::Framework.auto_instrument_grape + Datadog::Contrib::Rails::ActionController.instrument + Datadog::Contrib::Rails::ActionView.instrument + Datadog::Contrib::Rails::ActiveRecord.instrument + Datadog::Contrib::Rails::ActiveSupport.instrument end end end