Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-09 10:39:28 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 20:45:57 +0300
commit5bc099c2de1e05fa4dbe45b59caeced209834178 (patch)
tree468e515dfb2327bc89a642e18a3314191141b943 /config.ru
parentf74b133a7e5621ba3a3e93a4f29489fe28a10ae3 (diff)
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__)