diff options
Diffstat (limited to 'app/controllers/projects/metrics_dashboard_controller.rb')
-rw-r--r-- | app/controllers/projects/metrics_dashboard_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/projects/metrics_dashboard_controller.rb b/app/controllers/projects/metrics_dashboard_controller.rb index 235ee1dfbf2..51307c3665c 100644 --- a/app/controllers/projects/metrics_dashboard_controller.rb +++ b/app/controllers/projects/metrics_dashboard_controller.rb @@ -9,13 +9,14 @@ module Projects before_action :authorize_metrics_dashboard! before_action do push_frontend_feature_flag(:prometheus_computed_alerts) + push_frontend_feature_flag(:disable_metric_dashboard_refresh_rate) end def show if environment render 'projects/environments/metrics' else - render_404 + render 'projects/environments/empty_metrics' end end |