Fix a missing `require` when enabling the local prometheus exporter with Sidekiq (#33840)
This commit is contained in:
		
							parent
							
								
									5cb54f7c5e
								
							
						
					
					
						commit
						4af91e564d
					
				|  | @ -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…
	
		Reference in New Issue