Commit 6676f58c authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'mwaw/change_metrics_dashboard_annotations_to_project_based_gate' into 'master'

Change feature flag metrics_dashboard_annotations to project gate

See merge request gitlab-org/gitlab!30029
parents 695b914c ba5c9fd8
......@@ -14,7 +14,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
before_action :expire_etag_cache, only: [:index], unless: -> { request.format.json? }
before_action only: [:metrics, :additional_metrics, :metrics_dashboard] do
push_frontend_feature_flag(:prometheus_computed_alerts)
push_frontend_feature_flag(:metrics_dashboard_annotations)
push_frontend_feature_flag(:metrics_dashboard_annotations, project)
end
after_action :expire_etag_cache, only: [:cancel_auto_stop]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment