A redmine plugin to integrate the elastic_apm gem without the need to make changes to redmine repository itself
- Clone this plugin into the redmine
pluginsfolder - Run
bundle install - Create the
elastic_apm.ymlin this pluginconfigfolder - Restart Redmine
This plugin prepends the ApplicationController#user_setup method in order to provide Redmine current user to elastic. For this reason, it is incompatible with any other plugin which patches ApplicationController#user_setup using alias_method or alias_method_chain. A quick fix is to comment require 'redmine_elastic_apm/patches/application_controller_patch' in lib/redmine_elastic_apm.rb