Skip to content

Commit

Permalink
Lower the explain threshold for New Relic to 0.25 (#1284)
Browse files Browse the repository at this point in the history
The default is 0.5. Half a second is already a pretty slow query,
especially in the context of a web request. Lets collect some more data
for a while and see what comes up.
  • Loading branch information
rsanheim committed Sep 2, 2020
1 parent 83e8687 commit 5a7e025
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/newrelic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ common: &default_settings
license_key: <%= ENV['NEW_RELIC_LICENSE_KEY'] %>
log_level: debug
app_name: <%= ENV['NEW_RELIC_APP_NAME'] %>
transaction_trancer:
explain_threshold: 0.25
slow_sql:
explain_threshold: 0.25

development:
<<: *default_settings
Expand Down

0 comments on commit 5a7e025

Please sign in to comment.