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

This commit is contained in:
Renaud Chaput 2025-02-05 14:49:47 +01:00 committed by GitHub
parent 5cb54f7c5e
commit 4af91e564d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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