mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-19 05:09:38 +02:00
Replace StackProf with Vernier for performance profiling
This commit is contained in:
parent
f5ff5332d5
commit
0e76d753bd
3 changed files with 5 additions and 3 deletions
2
Gemfile
2
Gemfile
|
@ -29,7 +29,7 @@ gem "hotwire_combobox", github: "josefarias/hotwire_combobox", ref: "b827048a830
|
|||
gem "good_job"
|
||||
|
||||
# Error logging
|
||||
gem "stackprof"
|
||||
gem "vernier"
|
||||
gem "rack-mini-profiler"
|
||||
gem "sentry-ruby"
|
||||
gem "sentry-rails"
|
||||
|
|
|
@ -470,7 +470,6 @@ GEM
|
|||
simplecov_json_formatter (0.1.4)
|
||||
smart_properties (1.17.0)
|
||||
sorbet-runtime (0.5.11813)
|
||||
stackprof (0.2.27)
|
||||
stimulus-rails (1.3.4)
|
||||
railties (>= 6.0.0)
|
||||
stringio (3.1.3)
|
||||
|
@ -501,6 +500,7 @@ GEM
|
|||
useragent (0.16.11)
|
||||
vcr (6.3.1)
|
||||
base64
|
||||
vernier (1.5.0)
|
||||
web-console (4.2.1)
|
||||
actionview (>= 6.0.0)
|
||||
activemodel (>= 6.0.0)
|
||||
|
@ -579,13 +579,13 @@ DEPENDENCIES
|
|||
sentry-rails
|
||||
sentry-ruby
|
||||
simplecov
|
||||
stackprof
|
||||
stimulus-rails
|
||||
stripe
|
||||
tailwindcss-rails
|
||||
turbo-rails
|
||||
tzinfo-data
|
||||
vcr
|
||||
vernier
|
||||
web-console
|
||||
webmock
|
||||
|
||||
|
|
|
@ -14,5 +14,7 @@ if ENV["SENTRY_DSN"].present?
|
|||
# of sampled transactions.
|
||||
# We recommend adjusting this value in production.
|
||||
config.profiles_sample_rate = 0.5
|
||||
|
||||
config.profiler_class = Sentry::Vernier::Profiler
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue