summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorPawel Chojnacki <pawel@chojnacki.ws>2017-05-29 23:23:19 +0200
committerPawel Chojnacki <pawel@chojnacki.ws>2017-06-02 19:45:58 +0200
commitae8f7666e597493ab404f8524c1216a924338291 (patch)
tree1e7684337782584f90b8b8a9d3e5980393e633c7 /config/routes.rb
parentc134a72cdb7e6de8b70dc60de99cf4edc68a9227 (diff)
downloadgitlab-ce-ae8f7666e597493ab404f8524c1216a924338291.tar.gz
Add prometheus text formatter
+ rename controler method to #index from #metrics + remove assertion from nullMetric
Diffstat (limited to 'config/routes.rb')
-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