Skip to content

Commit

Permalink
Add and configure Scout APM for production
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasilotti committed Jan 4, 2022
1 parent 2d5161c commit 4d87633
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ gem "pagy", "~> 5.2"
gem "pay", "~> 3.0"
gem "pundit", "~> 2.1"
gem "redcarpet", "~> 3.5"
gem "scout_apm", "~> 5.1"
gem "sidekiq", "~> 6.3"
gem "sitemap_generator", "~> 6.1"
gem "stripe", ">= 2.8", "< 6.0"
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ GEM
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-darwin)
racc (~> 1.4)
noticed (1.4.1)
http (>= 4.0.0)
rails (>= 5.2.0)
Expand Down Expand Up @@ -294,6 +296,8 @@ GEM
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
ruby-progressbar (1.11.0)
scout_apm (5.1.1)
parser
sidekiq (6.3.1)
connection_pool (>= 2.2.2)
rack (~> 2.0)
Expand Down Expand Up @@ -369,6 +373,7 @@ DEPENDENCIES
rails (~> 7.0)
redcarpet (~> 3.5)
redis
scout_apm (~> 5.1)
sidekiq (~> 6.3)
sitemap_generator (~> 6.1)
sprockets-rails (~> 3.4)
Expand Down
2 changes: 1 addition & 1 deletion config/credentials/production.yml.enc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hol8PfXcNSDokHPlSEpDOGcVYj4nyv3s6MxRNg3NH8giPfWnrkJ9Pex5+m2h+J+KRa7MG9udQIhkkgFCJ8JE6HXpKyv1LgSnxdGiJOUaUXVcA2OQu+c8r7b303Wm7RN+bQFQ+1DAzcW5kNusdW3zRH1yLSInsMCKf34Hjh+6MztTHoAWJXpBR11u7M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C7pjECcRHu8kR8/2YSP33GJaFzV1GgYbe3w1vKjH02Md0elC0fSiNmagt7ctEVuJkyFJ8ry1eyj2C4K77XBQP12qF1phrWE6fBeZnt7FzsaAm0vxvtupRuqLmZSl+/UKPvI0yH0CJ4NuGjEy37CZVvvxzXRyWLyGeHH+OCRF4ESpHl5kQJv2smhob/w7bUcCpXpeeW+jMSzvU9CaV7cm33ligJU0nPs6y1KEfB/oEQZO8LzbnZ1uqT5nDdtuSPi06U6nhdMTJdW10B8nxiWmGfq/taN7bJI5qzplc76eJ/fuVTLl5NqPnHxSdv7oaP8cLX/QIPxOvVGxkj8CXJB9NlBZjvezaG11XqTqSVs86griwmrM5+nslY8=--xWKcANU3C30YBeoK--dtcrP5l5Q3ft9Xfx4CUO2g==
13 changes: 13 additions & 0 deletions config/scout_apm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
common: &defaults
key: <%= Rails.application.credentials.dig(:scout, :key) %>
monitor: false

development:
<<: *defaults

test:
<<: *defaults

production:
<<: *defaults
monitor: true

0 comments on commit 4d87633

Please sign in to comment.