summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah Yasonik <syasonik@gitlab.com>2019-08-08 20:06:22 +0000
committerStan Hu <stanhu@gmail.com>2019-08-08 20:06:22 +0000
commitcfcaac7badd030a2bc605660e9af98cd60a10176 (patch)
tree6df0fba2035f66f75a31a396ca5a7f28ebd8f48b
parent6bd2db0e4ca9e1c87f5b1778253d1414de2added (diff)
downloadgitlab-ce-cfcaac7badd030a2bc605660e9af98cd60a10176.tar.gz
Enable the prometheus endpoint by default
-rw-r--r--app/controllers/projects/environments_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects/environments_controller.rb b/app/controllers/projects/environments_controller.rb
index 07eb689d031..b709ac85e39 100644
--- a/app/controllers/projects/environments_controller.rb
+++ b/app/controllers/projects/environments_controller.rb
@@ -11,7 +11,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
before_action :verify_api_request!, only: :terminal_websocket_authorize
before_action :expire_etag_cache, only: [:index]
before_action only: [:metrics, :additional_metrics, :metrics_dashboard] do
- push_frontend_feature_flag(:environment_metrics_use_prometheus_endpoint)
+ push_frontend_feature_flag(:environment_metrics_use_prometheus_endpoint, default_enabled: true)
push_frontend_feature_flag(:environment_metrics_show_multiple_dashboards)
push_frontend_feature_flag(:environment_metrics_additional_panel_types)
push_frontend_feature_flag(:prometheus_computed_alerts)