Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.1
4.0.3
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ gem "wicked"
gem "will_paginate"

# Performance & Monitoring
gem "barnes", github: "heroku/barnes", branch: "schneems/direct-http-metrics"
gem "bootsnap", require: false
gem "flamegraph"
gem "matrix"
Expand Down
14 changes: 13 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
GIT
remote: https://github.com/heroku/barnes.git
revision: 343cc6b85dbae85b38d63bdb0566846120a5772f
branch: schneems/direct-http-metrics
specs:
barnes (1.0.0)
json
logger
ostruct

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -624,6 +634,7 @@ DEPENDENCIES
autoprefixer-rails
aws-sdk-s3
babel-transpiler
barnes!
bluecloth
bootsnap
bourbon
Expand Down Expand Up @@ -723,6 +734,7 @@ CHECKSUMS
aws-sigv4 (1.12.1) sha256=6973ff95cb0fd0dc58ba26e90e9510a2219525d07620c8babeb70ef831826c00
babel-source (5.8.35) sha256=79ef222a9dcb867ac2efa3b0da35b4bcb15a4bfa67b6b2dcbf1e9a29104498d9
babel-transpiler (0.7.0) sha256=4c06f4ad9e8e1cabe94f99e11df2f140bb72aca9ba067dbb49dc14d9b98d1570
barnes (1.0.0)
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
bcrypt (3.1.21) sha256=5964613d750a42c7ee5dc61f7b9336fb6caca429ba4ac9f2011609946e4a2dcf
benchmark-ips (2.14.0) sha256=b72bc8a65d525d5906f8cd94270dccf73452ee3257a32b89fbd6684d3e8a9b1d
Expand Down Expand Up @@ -945,7 +957,7 @@ CHECKSUMS
zeitwerk (2.7.4) sha256=2bef90f356bdafe9a6c2bd32bcd804f83a4f9b8bc27f3600fff051eb3edcec8b

RUBY VERSION
ruby 4.0.1
ruby 4.0.3

BUNDLED WITH
4.0.5
3 changes: 3 additions & 0 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
plugin :tmp_restart

before_fork do
require "barnes"
require "puma_worker_killer"

PumaWorkerKiller.enable_rolling_restart # Default is every 6 hours

Barnes.start
end

# on_worker_boot do
Expand Down