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
path: root/config
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-30 00:23:19 +0300
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 20:45:58 +0300
commitae8f7666e597493ab404f8524c1216a924338291 (patch)
tree1e7684337782584f90b8b8a9d3e5980393e633c7 /config
parentc134a72cdb7e6de8b70dc60de99cf4edc68a9227 (diff)
Add prometheus text formatter
+ rename controler method to #index from #metrics + remove assertion from nullMetric
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 4051c33d5d4..d909be38b42 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -41,7 +41,7 @@ Rails.application.routes.draw do
scope path: '-' do
get 'liveness' => 'health#liveness'
get 'readiness' => 'health#readiness'
- get 'metrics' => 'metrics#metrics'
+ resources :metrics, only: [:index]
end
# Koding route