diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-29 23:23:19 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-06-02 19:45:58 +0200 |
commit | ae8f7666e597493ab404f8524c1216a924338291 (patch) | |
tree | 1e7684337782584f90b8b8a9d3e5980393e633c7 /config | |
parent | c134a72cdb7e6de8b70dc60de99cf4edc68a9227 (diff) | |
download | gitlab-ce-ae8f7666e597493ab404f8524c1216a924338291.tar.gz |
Add prometheus text formatter
+ rename controler method to #index from #metrics
+ remove assertion from nullMetric
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 2 |
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 |