Skip to content

set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru

This MR makes the default 'prometheus_multiproc_dir' env variable available from all three contexts - sidekiq, rails c and rails s

Why was this MR needed?

when using prometheus metrics from sidekiq or console in development environment Prometheus client threw exceptions.

Does this MR meet the acceptance criteria?

=- Tests

Related to: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2118

Edited by username-removed-676946

Merge request reports