From c134a72cdb7e6de8b70dc60de99cf4edc68a9227 Mon Sep 17 00:00:00 2001 From: Pawel Chojnacki Date: Mon, 29 May 2017 14:19:43 +0200 Subject: Move Prometheus presentation logic to PrometheusText + Use NullMetrics to mock metrics when unused + Use method_missing in NullMetrics mocking + Update prometheus gem to version that correctly uses transitive dependencies + Ensure correct folders are used in Multiprocess prometheus client tests. + rename Sessions controller's metric --- config.ru | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.ru') diff --git a/config.ru b/config.ru index 2614c9aaf74..89aba462f19 100644 --- a/config.ru +++ b/config.ru @@ -16,7 +16,7 @@ if defined?(Unicorn) end # set default directory for multiproces metrics gathering -ENV['prometheus_multiproc_dir'] ||= 'tmp/prometheus_data_dir' +ENV['prometheus_multiproc_dir'] ||= 'tmp/prometheus_multiproc_dir' require ::File.expand_path('../config/environment', __FILE__) -- cgit v1.2.1