Fix a missing require
when enabling the local prometheus exporter with Sidekiq (#33840)
This commit is contained in:
parent
5cb54f7c5e
commit
4af91e564d
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue