summaryrefslogtreecommitdiff
path: root/config.ru
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-09 09:39:28 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 19:45:57 +0200
commit5bc099c2de1e05fa4dbe45b59caeced209834178 (patch)
tree468e515dfb2327bc89a642e18a3314191141b943 /config.ru
parentf74b133a7e5621ba3a3e93a4f29489fe28a10ae3 (diff)
downloadgitlab-ce-5bc099c2de1e05fa4dbe45b59caeced209834178.tar.gz
Prometheus metrics first pass
metrics wip
Diffstat (limited to 'config.ru')
-rw-r--r--config.ru6
1 files changed, 1 insertions, 5 deletions
diff --git a/config.ru b/config.ru
index 82af814341b..cba44122da9 100644
--- a/config.ru
+++ b/config.ru
@@ -15,11 +15,7 @@ if defined?(Unicorn)
end
# TODO(lyda): Needs to be set externally.
- ENV['prometheus_multiproc_dir'] = '/tmp'
-
- require 'prometheus/client/rack/exporter'
-
- use Prometheus::Client::Rack::Exporter, path: '/admin/metrics'
+ ENV['prometheus_multiproc_dir'] = '/tmp/somestuff'
end
require ::File.expand_path('../config/environment', __FILE__)