Skip to content

Commit

Permalink
fix: Remove puma metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniela Lemow authored and Daniela Lemow committed Apr 3, 2024
1 parent 254194c commit 09ed11a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ gem 'oai', '~> 1.1.0' # faraday needs to be updated for 1.2.0
gem 'ougai', '~> 1.8'
gem 'parse-cron'
gem 'puma'
gem 'puma-metrics'
gem 'rails', '~> 7.0.8'
gem 'responders'
gem 'sidekiq', '6.5.10'
Expand Down
5 changes: 0 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ GEM
parser (3.3.0.5)
ast (~> 2.4.1)
racc
prometheus-client (4.0.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
Expand All @@ -319,9 +318,6 @@ GEM
public_suffix (4.0.6)
puma (6.4.2)
nio4r (~> 2.0)
puma-metrics (1.2.5)
prometheus-client (>= 0.10)
puma (>= 5.0)
racc (1.7.3)
rack (2.2.9)
rack-protection (3.0.4)
Expand Down Expand Up @@ -499,7 +495,6 @@ DEPENDENCIES
pry-byebug
pry-rails
puma
puma-metrics
rails (~> 7.0.8)
rails-controller-testing
responders
Expand Down
2 changes: 0 additions & 2 deletions config/puma.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

plugin('metrics') if %w[uat staging production].include? ENV['RAILS_ENV']

# To avoid SIGTERMS on scaledown in ElasticAPM
# https://www.rubydoc.info/gems/puma/Puma%2FDSL:raise_exception_on_sigterm
raise_exception_on_sigterm false
Expand Down

0 comments on commit 09ed11a

Please sign in to comment.