Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 30707f4

Browse files
SRCH-2187 Update newrelic_rpm for ASIS (#102)
* 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`
1 parent 918c0b5 commit 30707f4

File tree

3 files changed

+24
-19
lines changed

3 files changed

+24
-19
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ gem 'sinatra', '~> 2.0.2', require: nil
3535
gem 'whenever', '~> 0.9.4', require: false
3636

3737
gem 'airbrake', '~> 7.1.1'
38-
gem 'newrelic_rpm', '~> 4.2.0.334'
38+
gem 'newrelic_rpm', '~> 6.15.0'
3939

4040
gem 'feedjira', '~> 2.2.0'
4141
gem 'http', '~> 4.0.0'

Gemfile.lock

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ GEM
4242
i18n (>= 0.7, < 2)
4343
minitest (~> 5.1)
4444
tzinfo (~> 1.1)
45-
addressable (2.7.0)
45+
addressable (2.8.0)
4646
public_suffix (>= 2.0.2, < 5.0)
4747
airbrake (7.1.1)
4848
airbrake-ruby (~> 2.5)
@@ -91,9 +91,9 @@ GEM
9191
dry-container (0.8.0)
9292
concurrent-ruby (~> 1.0)
9393
dry-configurable (~> 0.1, >= 0.1.3)
94-
dry-core (0.6.0)
94+
dry-core (0.7.1)
9595
concurrent-ruby (~> 1.0)
96-
dry-inflector (0.2.0)
96+
dry-inflector (0.2.1)
9797
dry-logic (1.2.0)
9898
concurrent-ruby (~> 1.0)
9999
dry-core (~> 0.5, >= 0.5)
@@ -132,10 +132,10 @@ GEM
132132
faraday_middleware (>= 0.9)
133133
loofah (>= 2.0)
134134
sax-machine (>= 1.0)
135-
ffi (1.15.1)
135+
ffi (1.15.3)
136136
flickraw (0.9.10)
137-
globalid (0.4.2)
138-
activesupport (>= 4.2.0)
137+
globalid (0.5.1)
138+
activesupport (>= 5.0)
139139
grape (1.3.3)
140140
activesupport
141141
builder
@@ -190,13 +190,13 @@ GEM
190190
net-scp (3.0.0)
191191
net-ssh (>= 2.6.5, < 7.0.0)
192192
net-ssh (6.1.0)
193-
newrelic_rpm (4.2.0.334)
193+
newrelic_rpm (6.15.0)
194194
nio4r (2.5.7)
195195
nokogiri (1.11.7)
196196
mini_portile2 (~> 2.5.0)
197197
racc (~> 1.4)
198198
parallel (1.20.1)
199-
parser (3.0.1.1)
199+
parser (3.0.2.0)
200200
ast (~> 2.4.1)
201201
pry (0.14.1)
202202
coderay (~> 1.1)
@@ -279,25 +279,25 @@ GEM
279279
rubocop-ast (>= 1.2.0, < 2.0)
280280
ruby-progressbar (~> 1.7)
281281
unicode-display_width (>= 1.4.0, < 3.0)
282-
rubocop-ast (1.7.0)
282+
rubocop-ast (1.8.0)
283283
parser (>= 3.0.1.1)
284-
rubocop-performance (1.11.3)
284+
rubocop-performance (1.11.4)
285285
rubocop (>= 1.7.0, < 2.0)
286286
rubocop-ast (>= 0.4.0)
287-
rubocop-rails (2.10.1)
287+
rubocop-rails (2.11.3)
288288
activesupport (>= 4.2.0)
289289
rack (>= 1.1)
290290
rubocop (>= 1.7.0, < 2.0)
291-
rubocop-rake (0.5.1)
292-
rubocop
293-
rubocop-rspec (2.3.0)
291+
rubocop-rake (0.6.0)
292+
rubocop (~> 1.0)
293+
rubocop-rspec (2.4.0)
294294
rubocop (~> 1.0)
295295
rubocop-ast (>= 1.1.0)
296296
ruby-progressbar (1.11.0)
297-
ruby2_keywords (0.0.4)
297+
ruby2_keywords (0.0.5)
298298
ruby_dep (1.5.0)
299299
sax-machine (1.3.2)
300-
searchgov_style (0.1.8)
300+
searchgov_style (0.1.9)
301301
rubocop (= 1.8.1)
302302
rubocop-performance (~> 1.9)
303303
rubocop-rails (~> 2.9)
@@ -358,7 +358,7 @@ GEM
358358
addressable (>= 2.3.6)
359359
crack (>= 0.3.2)
360360
hashdiff
361-
websocket-driver (0.7.4)
361+
websocket-driver (0.7.5)
362362
websocket-extensions (>= 0.1.0)
363363
websocket-extensions (0.1.5)
364364
whenever (0.9.7)
@@ -386,7 +386,7 @@ DEPENDENCIES
386386
jbuilder (~> 2.6.4)
387387
listen (>= 3.0.5, < 3.2)
388388
mock_redis (~> 0.17.3)
389-
newrelic_rpm (~> 4.2.0.334)
389+
newrelic_rpm (~> 6.15.0)
390390
pry-rails
391391
puma (~> 5.3)
392392
rails (~> 5.2.0)

config/newrelic.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,11 @@ common: &default_settings
178178
# implications if your memcached keys are sensitive
179179
# capture_memcache_keys: true
180180

181+
# Newrelic recommends setting this to true if possible. They default
182+
# to false because it can interfere with other gems which monkey
183+
# patch ActiveRecord. See the release notes for newrelic_rpm 6.5.0.
184+
backport_fast_active_record_connection_lookup: true
185+
181186
# Application Environments
182187
# ------------------------------------------
183188
# Environment-specific settings are in this section.

0 commit comments

Comments
 (0)