Skip to content

Commit 5ef6886

Browse files
Merge pull request #5783 from nhsuk/update_prometheus_exporter
Fix update to Ruby 4.0 breaking prometheus_exporter
2 parents 15664e0 + b0f2655 commit 5ef6886

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ gem "omniauth_openid_connect"
5252
gem "omniauth-rails_csrf_protection"
5353
gem "pagy"
5454
gem "phonelib"
55-
gem "prometheus_exporter"
55+
gem "prometheus_exporter",
56+
github: "discourse/prometheus_exporter",
57+
branch: "main" #TODO: replace with version > 2.3.1 when released
5658
gem "pstore"
5759
gem "pundit"
5860
gem "rails_semantic_logger"

Gemfile.lock

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ GIT
1818
capybara_accessible_selectors (0.15.0)
1919
capybara (~> 3.36)
2020

21+
GIT
22+
remote: https://github.com/discourse/prometheus_exporter.git
23+
revision: ddf5c9b5446bd66b39390a6e07d4660ebca56d41
24+
branch: main
25+
specs:
26+
prometheus_exporter (2.3.1)
27+
webrick
28+
2129
GIT
2230
remote: https://github.com/tvararu/audited.git
2331
revision: e089773f10f8ef5e5e92a2052a2fea55f83091d2
@@ -463,8 +471,6 @@ GEM
463471
prettier_print (1.2.1)
464472
prettyprint (0.2.0)
465473
prism (1.8.0)
466-
prometheus_exporter (2.3.1)
467-
webrick
468474
propshaft (1.3.1)
469475
actionpack (>= 7.0.0)
470476
activesupport (>= 7.0.0)
@@ -854,7 +860,7 @@ DEPENDENCIES
854860
pg
855861
phonelib
856862
prettier_print
857-
prometheus_exporter
863+
prometheus_exporter!
858864
propshaft
859865
pry-rails
860866
pstore

0 commit comments

Comments
 (0)