Sha256: a773b2adb61816847bd9675a613a49edfa0e0495cc965cdb83ce2d6a3b22378c
Contents?: true
Size: 688 Bytes
Versions: 6
Compression:
Stored size: 688 Bytes
Contents
require 'ddtrace/contrib/rails/framework' require 'ddtrace/contrib/rails/middlewares' require 'ddtrace/contrib/rack/middlewares' module Datadog # Railtie class initializes class Railtie < Rails::Railtie config.app_middleware.insert_before(0, Datadog::Contrib::Rack::TraceMiddleware) config.app_middleware.use(Datadog::Contrib::Rails::ExceptionMiddleware) config.after_initialize do Datadog::Contrib::Rails::Framework.setup Datadog::Contrib::Rails::ActionController.instrument Datadog::Contrib::Rails::ActionView.instrument Datadog::Contrib::Rails::ActiveRecord.instrument Datadog::Contrib::Rails::ActiveSupport.instrument end end end
Version data entries
6 entries across 6 versions & 1 rubygems