This commit is contained in:
syasonik 2019-04-22 15:50:43 +08:00
parent 9fedbea78e
commit dde709912f
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
def metrics_dashboard
return render_403 unless Feature.enabled?(:environment_metrics_use_prometheus_endpoint, @project)
result = Gitlab::MetricsDashboard::Service.new(@project, @current_user, environment: environment).get_dashboard
respond_to do |format|