Skip to content

Commit

Permalink
Merge pull request #310 from mbarnett/skylight
Browse files Browse the repository at this point in the history
Basic skylight setup
  • Loading branch information
mbarnett authored Dec 8, 2017
2 parents 5106c3b + 3a919e4 commit 720a152
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .env_deployment_sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ MYSQL_DATABASE=jupiter_uat
MYSQL_ROOT_PASSWORD=mysecretpassword
#Nginx environment variables
HOSTNAME=localhost

SKYLIGHT_AUTHENTICATION=secretauthenticationtoken
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ gem 'sinatra' # used by sidekiq/web
gem 'kaminari'
gem 'ransack'

# Performance monitoring
gem 'skylight'

# Seeds
group :development, :test, :uat do
gem 'faker', require: false
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ GEM
rack (~> 2.0)
rack-protection (= 2.0.0)
tilt (~> 2.0)
skylight (1.4.4)
activesupport (>= 3.0.0)
slop (4.6.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -431,6 +433,7 @@ DEPENDENCIES
simple_form
simplecov
sinatra
skylight
solrizer!
turbolinks (~> 5)
uglifier (>= 1.3.0)
Expand Down
3 changes: 3 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,8 @@ class Application < Rails::Application
# Set ActiveJob adapter
config.active_job.queue_adapter = :sidekiq

# Run skylight in UAT for performance metric monitoring pre-launch
config.skylight.environments += ['uat']

end
end

0 comments on commit 720a152

Please sign in to comment.