Add frontend support for cluster health alerts

Adds a new query text input for metric alerts
This commit is contained in:
Adriel Santiago 2019-06-06 19:57:28 +00:00 committed by Mike Greiling
parent 7d47ec540d
commit b78c370ac5
2 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,10 @@ class Projects::ClustersController < Clusters::ClustersController
prepend_before_action :project
before_action :repository
before_action do
push_frontend_feature_flag(:prometheus_computed_alerts)
end
layout 'project'
private

View File

@ -15,6 +15,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
push_frontend_feature_flag(:environment_metrics_use_prometheus_endpoint)
push_frontend_feature_flag(:environment_metrics_show_multiple_dashboards)
push_frontend_feature_flag(:grafana_dashboard_link)
push_frontend_feature_flag(:prometheus_computed_alerts)
end
def index