diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-16 00:41:47 +0300 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-16 00:41:47 +0300 |
commit | f982fef9b523a87ff7e48158bd20713789a8ee89 (patch) | |
tree | 26153f9e03a817fcde177c7437f69d59ff69b118 /config | |
parent | 75d425e4fcfb884960e179d5268a14829e183a70 (diff) |
set ENV['prometheus_multiproc_dir'] in config/boot.rb instead of config.ru
Diffstat (limited to 'config')
-rw-r--r-- | config/boot.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/boot.rb b/config/boot.rb index 17a71148370..db5ab918021 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -5,6 +5,9 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) +# set default directory for multiproces metrics gathering +ENV['prometheus_multiproc_dir'] ||= 'tmp/prometheus_multiproc_dir' + # Default Bootsnap configuration from https://github.com/Shopify/bootsnap#usage require 'bootsnap' Bootsnap.setup( |