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

This commit is contained in:
Renaud Chaput authored and GitHub committed 2025-02-05 13:49:47 +00:00
1 parent 5cb54f7c5e
commit 4af91e564d
1 file changed
+1
@@ -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'