Skip to content

Commit

Permalink
replace scout with skylight
Browse files Browse the repository at this point in the history
  • Loading branch information
compwron committed Sep 11, 2021
1 parent 93c5a2b commit f1fb2b3
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PORT: 5432
run: |
bundle exec skylight disable_dev_warning
yarn
bundle exec rake db:create
bundle exec rake db:schema:load
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_PORT: 5432
run: |
bundle exec skylight disable_dev_warning
yarn
bundle exec rake db:create
bundle exec rake db:schema:load
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ gem "pg", ">= 0.18", "< 2.0" # Use postgresql as the database for Active Record
gem "puma", "~> 5.4" # Use Puma as the app server
gem "pundit" # for authorization management - based on user.role field
gem "rack-attack" # for blocking & throttling abusive requests
gem "skylight" # automated performance testing https://www.skylight.io/
gem "webpacker", "~> 5.4" # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem "image_processing", "~> 1.12" # Set of higher-level helper methods for image processing.
gem "lograge" # log less so heroku papertrail quits rate limiting our logs
Expand Down Expand Up @@ -69,3 +68,5 @@ end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[mingw mswin x64_mingw jruby]

gem "scout_apm", "~> 4.1"
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ GEM
sablon (0.3.2)
nokogiri (>= 1.8.5)
rubyzip (>= 1.1.1)
scout_apm (4.1.2)
parser
selenium-webdriver (4.0.0.rc1)
childprocess (>= 0.5, < 5.0)
rexml (~> 3.2)
Expand All @@ -362,8 +364,6 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
skylight (5.1.1)
activesupport (>= 5.2.0)
smart_properties (1.16.2)
spring (2.1.1)
spring-commands-rspec (1.0.4)
Expand Down Expand Up @@ -457,10 +457,10 @@ DEPENDENCIES
request_store
rspec-rails (~> 5.0.2)
sablon
scout_apm (~> 4.1)
selenium-webdriver (= 4.0.0.rc1)
shoulda-matchers
simplecov (~> 0.21.2)
skylight
spring
spring-commands-rspec
spring-watcher-listen (~> 2.0.0)
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
[![Snyk Vulnerabilities](https://snyk.io/test/github/rubyforgood/casa/badge.svg)](https://snyk.io/test/github/rubyforgood/casa)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/rubyforgood/casa.svg)](http://isitmaintained.com/project/rubyforgood/casa "Average time to resolve an issue")

[![View performance data on Skylight](https://badges.skylight.io/status/tFh7xrs3Qnaf.svg?token=1C-Q7p8jEFlG7t69Yl5DaJwa-ipWI8gLw9wLJf53xmQ)](https://www.skylight.io/app/applications/tFh7xrs3Qnaf)
[![View performance data on Skylight](https://badges.skylight.io/problem/tFh7xrs3Qnaf.svg?token=1C-Q7p8jEFlG7t69Yl5DaJwa-ipWI8gLw9wLJf53xmQ)](https://www.skylight.io/app/applications/tFh7xrs3Qnaf)
[![View performance data on Skylight](https://badges.skylight.io/typical/tFh7xrs3Qnaf.svg?token=1C-Q7p8jEFlG7t69Yl5DaJwa-ipWI8gLw9wLJf53xmQ)](https://www.skylight.io/app/applications/tFh7xrs3Qnaf)
[![View performance data on Skylight](https://badges.skylight.io/rpm/tFh7xrs3Qnaf.svg?token=1C-Q7p8jEFlG7t69Yl5DaJwa-ipWI8gLw9wLJf53xmQ)](https://www.skylight.io/app/applications/tFh7xrs3Qnaf)

CASA (Court Appointed Special Advocate) is a role fulfilled by a trained volunteer sworn into a county-level juvenile dependency court system to advocate on behalf of a youth in the corresponding county's foster care system. CASA is also the namesake role of the national organization, CASA, which exists to cultivate and supervise volunteers carrying out this work – with county level chapters (operating relatively independently of each other) across the country.

<!-- toc -->
Expand Down
35 changes: 35 additions & 0 deletions config/scout_apm.yml
Original file line number Diff line number Diff line change
@@ -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 https://docs.scoutapm.com#environment-variables for more information.
common: &defaults

# key: Your Organization key for Scout APM. Found on the settings screen.
# - Default: none
key: <%= ENV.fetch("SCOUT_APM_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

0 comments on commit f1fb2b3

Please sign in to comment.