lib/elastic_apm/railtie.rb in elastic-apm-0.4.1 vs lib/elastic_apm/railtie.rb in elastic-apm-0.4.2
- old
+ new
@@ -2,9 +2,10 @@
module ElasticAPM
# @api private
class Railtie < Rails::Railtie
config.elastic_apm = ActiveSupport::OrderedOptions.new
+ Config::DEFAULTS.each { |option, value| config.elastic_apm[option] = value }
initializer 'elastic_apm.initialize' do |app|
config = Config.new app.config.elastic_apm do |c|
c.app = app
end