lib/elastic_apm/config.rb in elastic-apm-3.8.0 vs lib/elastic_apm/config.rb in elastic-apm-3.9.0
- old
+ new
@@ -129,10 +129,11 @@
def available_instrumentations
%w[
action_dispatch
delayed_job
+ dynamo_db
elasticsearch
faraday
http
json
mongo
@@ -315,10 +316,10 @@
self.framework_name ||= 'Ruby on Rails'
self.framework_version ||= ::Rails::VERSION::STRING
self.logger ||= ::Rails.logger
self.__root_path = ::Rails.root.to_s
- self.__view_paths = app.config.paths['app/views'].existent
+ self.__view_paths = ::ActionController::Base.view_paths.map(&:to_s)
end
def rails_app_name(app)
if ::Rails::VERSION::MAJOR >= 6
app.class.module_parent_name