Skip to content

Commit

Permalink
SRCH-2187 Update newrelic_rpm for ASIS (#102)
Browse files Browse the repository at this point in the history
* SRCH-2187 Update newrelic in ASIS

Changed newrelic_rpm to 6.15.0 and ran `bundle update newrelic_rpm`

Added newrelic backport_fast_active_record_connection_lookup setting per newrelic's recommendations.
See release notes for newrelic_rpm 6.5 for details; basically, this setting should be on if at all possible, but it can interfere with other gems if the they monkey-patch ActiveRecord. This does not appear to be an issue for ASIS.

* Ran `bundle update`
  • Loading branch information
jmax-fearless authored Aug 3, 2021
1 parent 918c0b5 commit 30707f4
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gem 'sinatra', '~> 2.0.2', require: nil
gem 'whenever', '~> 0.9.4', require: false

gem 'airbrake', '~> 7.1.1'
gem 'newrelic_rpm', '~> 4.2.0.334'
gem 'newrelic_rpm', '~> 6.15.0'

gem 'feedjira', '~> 2.2.0'
gem 'http', '~> 4.0.0'
Expand Down
36 changes: 18 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ GEM
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.7.0)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
airbrake (7.1.1)
airbrake-ruby (~> 2.5)
Expand Down Expand Up @@ -91,9 +91,9 @@ GEM
dry-container (0.8.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
dry-core (0.6.0)
dry-core (0.7.1)
concurrent-ruby (~> 1.0)
dry-inflector (0.2.0)
dry-inflector (0.2.1)
dry-logic (1.2.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.5, >= 0.5)
Expand Down Expand Up @@ -132,10 +132,10 @@ GEM
faraday_middleware (>= 0.9)
loofah (>= 2.0)
sax-machine (>= 1.0)
ffi (1.15.1)
ffi (1.15.3)
flickraw (0.9.10)
globalid (0.4.2)
activesupport (>= 4.2.0)
globalid (0.5.1)
activesupport (>= 5.0)
grape (1.3.3)
activesupport
builder
Expand Down Expand Up @@ -190,13 +190,13 @@ GEM
net-scp (3.0.0)
net-ssh (>= 2.6.5, < 7.0.0)
net-ssh (6.1.0)
newrelic_rpm (4.2.0.334)
newrelic_rpm (6.15.0)
nio4r (2.5.7)
nokogiri (1.11.7)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
parallel (1.20.1)
parser (3.0.1.1)
parser (3.0.2.0)
ast (~> 2.4.1)
pry (0.14.1)
coderay (~> 1.1)
Expand Down Expand Up @@ -279,25 +279,25 @@ GEM
rubocop-ast (>= 1.2.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.7.0)
rubocop-ast (1.8.0)
parser (>= 3.0.1.1)
rubocop-performance (1.11.3)
rubocop-performance (1.11.4)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.10.1)
rubocop-rails (2.11.3)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-rake (0.5.1)
rubocop
rubocop-rspec (2.3.0)
rubocop-rake (0.6.0)
rubocop (~> 1.0)
rubocop-rspec (2.4.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.4)
ruby2_keywords (0.0.5)
ruby_dep (1.5.0)
sax-machine (1.3.2)
searchgov_style (0.1.8)
searchgov_style (0.1.9)
rubocop (= 1.8.1)
rubocop-performance (~> 1.9)
rubocop-rails (~> 2.9)
Expand Down Expand Up @@ -358,7 +358,7 @@ GEM
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
websocket-driver (0.7.4)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
whenever (0.9.7)
Expand Down Expand Up @@ -386,7 +386,7 @@ DEPENDENCIES
jbuilder (~> 2.6.4)
listen (>= 3.0.5, < 3.2)
mock_redis (~> 0.17.3)
newrelic_rpm (~> 4.2.0.334)
newrelic_rpm (~> 6.15.0)
pry-rails
puma (~> 5.3)
rails (~> 5.2.0)
Expand Down
5 changes: 5 additions & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ common: &default_settings
# implications if your memcached keys are sensitive
# capture_memcache_keys: true

# Newrelic recommends setting this to true if possible. They default
# to false because it can interfere with other gems which monkey
# patch ActiveRecord. See the release notes for newrelic_rpm 6.5.0.
backport_fast_active_record_connection_lookup: true

# Application Environments
# ------------------------------------------
# Environment-specific settings are in this section.
Expand Down

0 comments on commit 30707f4

Please sign in to comment.