mirror of
https://github.com/internetee/registry.git
synced 2025-06-09 14:14:49 +02:00
disable airbrake performance monitoring
This commit is contained in:
parent
07653fa710
commit
a743c6c56f
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ Airbrake.configure do |config|
|
||||||
config.project_id = ENV['airbrake_project_id']
|
config.project_id = ENV['airbrake_project_id']
|
||||||
config.project_key = ENV['airbrake_project_key']
|
config.project_key = ENV['airbrake_project_key']
|
||||||
config.root_directory = Rails.root
|
config.root_directory = Rails.root
|
||||||
|
config.job_stats = false
|
||||||
|
config.query_stats = false
|
||||||
|
config.performance_stats = false
|
||||||
config.logger =
|
config.logger =
|
||||||
if ENV['RAILS_LOG_TO_STDOUT'].present?
|
if ENV['RAILS_LOG_TO_STDOUT'].present?
|
||||||
Logger.new(STDOUT, level: Rails.logger.level)
|
Logger.new(STDOUT, level: Rails.logger.level)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue