enable yabeda sidekiq metrics
a webserver is launched with the sidekiq process. It listen on the 9394 port and bind on 0.0.0.0 by default.
This commit is contained in:
parent
1bd6260df4
commit
4c0b6fd93a
2 changed files with 11 additions and 0 deletions
|
@ -16,6 +16,11 @@ if ENV.has_key?('REDIS_SIDEKIQ_SENTINELS')
|
|||
role: :master
|
||||
}
|
||||
|
||||
if ENV['PROMETHEUS_EXPORTER_ENABLED'] == 'enabled'
|
||||
Yabeda.configure!
|
||||
Yabeda::Prometheus::Exporter.start_metrics_server!
|
||||
end
|
||||
|
||||
if ENV['SKIP_RELIABLE_FETCH'].blank?
|
||||
Sidekiq::ReliableFetch.setup_reliable_fetch!(config)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue