Fix a missing `require` when enabling the local prometheus exporter with Sidekiq (#33840)

pull/33842/head
Renaud Chaput 3 weeks ago committed by GitHub
parent 5cb54f7c5e
commit 4af91e564d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2,6 +2,7 @@
if ENV['MASTODON_PROMETHEUS_EXPORTER_ENABLED'] == 'true'
if ENV['MASTODON_PROMETHEUS_EXPORTER_LOCAL'] == 'true'
require 'prometheus_exporter'
require 'prometheus_exporter/server'
require 'prometheus_exporter/client'

Loading…
Cancel
Save