Named route for prometheus proxy_path
This commit is contained in:
parent
8980b71490
commit
b46b38ff9f
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ constraints(::Constraints::ProjectUrlConstrainer.new) do
|
|||
get :metrics_dashboard
|
||||
get '/terminal.ws/authorize', to: 'environments#terminal_websocket_authorize', constraints: { format: nil }
|
||||
|
||||
get '/prometheus/api/v1/*proxy_path', to: 'environments/prometheus_api#proxy'
|
||||
get '/prometheus/api/v1/*proxy_path', to: 'environments/prometheus_api#proxy', as: :prometheus_api
|
||||
end
|
||||
|
||||
collection do
|
||||
|
|
Loading…
Reference in a new issue