diff options
author | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-10 11:25:30 +0200 |
---|---|---|
committer | Pawel Chojnacki <pawel@chojnacki.ws> | 2017-05-25 15:05:56 +0200 |
commit | 2061414054ce43aa6d53d1be3f602114e5a336d2 (patch) | |
tree | c32e83fcd76cd279171117f3ff282ef54f5308a2 /config/routes | |
parent | 78de1c059ac588df4ba1ef352b28e5b1c6102804 (diff) | |
download | gitlab-ce-2061414054ce43aa6d53d1be3f602114e5a336d2.tar.gz |
Additional metrics initial work, with working metrics listing, but without actoual metrics mesurements
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/project.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/routes/project.rb b/config/routes/project.rb index 9fe8372edf9..f5d00e4e93b 100644 --- a/config/routes/project.rb +++ b/config/routes/project.rb @@ -72,6 +72,10 @@ constraints(ProjectUrlConstrainer.new) do resource :mattermost, only: [:new, :create] + namespace :prometheus do + get :active_metrics + end + resources :deploy_keys, constraints: { id: /\d+/ }, only: [:index, :new, :create] do member do put :enable @@ -152,6 +156,7 @@ constraints(ProjectUrlConstrainer.new) do post :stop get :terminal get :metrics + get :additional_metrics get '/terminal.ws/authorize', to: 'environments#terminal_websocket_authorize', constraints: { format: nil } end |