Add Scout gem and config (#2219)
This commit is contained in:
parent
6e23483b94
commit
2b92371d4d
2 changed files with 36 additions and 0 deletions
1
Gemfile
1
Gemfile
|
|
@ -85,6 +85,7 @@ gem "rubyzip", "~> 1.2", ">= 1.2.2"
|
|||
gem "s3_direct_upload", "~> 0.1"
|
||||
gem "sail", "~> 1.5"
|
||||
gem "sass-rails", "~> 5.0"
|
||||
gem "scout_apm", "~> 2.4"
|
||||
gem "sdoc", "~> 1.0", group: :doc
|
||||
gem "serviceworker-rails", "~> 0.5"
|
||||
gem "share_meow_client", "~> 0.1"
|
||||
|
|
|
|||
35
config/scout_apm.yml
Normal file
35
config/scout_apm.yml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# This configuration file is used for Scout APM.
|
||||
# Environment variables can also be used to configure Scout. See our help docs at http://help.apm.scoutapp.com#environment-variables for more information.
|
||||
common: &defaults
|
||||
|
||||
# key: Your Organization key for Scout APM. Found on the settings screen.
|
||||
# - Default: none
|
||||
key: <%= ENV['SCOUT_KEY'] %>
|
||||
|
||||
# log_level: Verboseness of logs.
|
||||
# - Default: 'info'
|
||||
# - Valid Options: debug, info, warn, error
|
||||
# log_level: debug
|
||||
|
||||
# name: Application name in APM Web UI
|
||||
# - Default: the application names comes from the Rails or Sinatra class name
|
||||
# name:
|
||||
|
||||
# monitor: Enable Scout APM or not
|
||||
# - Default: none
|
||||
# - Valid Options: true, false
|
||||
monitor: true
|
||||
|
||||
production:
|
||||
<<: *defaults
|
||||
|
||||
development:
|
||||
<<: *defaults
|
||||
monitor: false
|
||||
|
||||
test:
|
||||
<<: *defaults
|
||||
monitor: false
|
||||
|
||||
staging:
|
||||
<<: *defaults
|
||||
Loading…
Add table
Reference in a new issue