Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic skylight setup #310

Merged
merged 2 commits into from
Dec 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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