Setup autotuner for honeybadger

This commit is contained in:
Max Wofford 2025-06-08 19:29:37 -04:00
parent 9dfabf49f9
commit af7c43a38f
3 changed files with 9 additions and 0 deletions

View file

@ -126,3 +126,5 @@ end
gem "htmlcompressor", "~> 0.4.0" gem "htmlcompressor", "~> 0.4.0"
gem "doorkeeper", "~> 5.8" gem "doorkeeper", "~> 5.8"
gem "autotuner", "~> 1.0"

View file

@ -99,6 +99,7 @@ GEM
device_detector (>= 1) device_detector (>= 1)
safely_block (>= 0.4) safely_block (>= 0.4)
ast (2.4.3) ast (2.4.3)
autotuner (1.0.2)
base64 (0.3.0) base64 (0.3.0)
bcrypt_pbkdf (1.1.1) bcrypt_pbkdf (1.1.1)
bcrypt_pbkdf (1.1.1-arm64-darwin) bcrypt_pbkdf (1.1.1-arm64-darwin)
@ -523,6 +524,7 @@ DEPENDENCIES
activerecord-import activerecord-import
ahoy_captain! ahoy_captain!
ahoy_matey ahoy_matey
autotuner (~> 1.0)
bootsnap bootsnap
brakeman brakeman
bullet bullet

View file

@ -0,0 +1,5 @@
# Enable autotuner. Alternatively, call Autotuner.sample_ratio= with a value
# between 0 and 1.0 to sample on a portion of instances.
Autotuner.enabled = true
# The rest is handled by the honeybadger gem.