Protected environments Metrics

Currently, Protected environments is hidden behind feature flag (protected_environments) due to some performance concerns of that feature: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6672#note_92769659.

We will:

  1. Deploy 11.3 to staging and gitlab.com,
  2. Enable feature flag and monitor the impact of the feature on the performance of GitLab.com
  3. If everything is OK, we have an open MR ready to be merged that removes the feature flag and makes the feature to be available. This should ideally be merged for 11.4 at the latest. (https://gitlab.com/gitlab-org/gitlab-ee/issues/7536)

Feature can be enabled on staging with

/chatops run feature set --staging protected_environments true

and on production with

/chatops run feature set protected_environments true

Metrics to monitor

  • https://dashboards.gitlab.net/d/000000120/rails-controllers?orgId=1&var-action=Projects::PipelinesController%23index.json&var-database=influxdb-01-inf-gprd
  • https://dashboards.gitlab.net/d/000000120/rails-controllers?orgId=1&var-action=Projects::PipelinesController%23show.json&var-database=influxdb-01-inf-gprd
  • https://dashboards.gitlab.net/d/000000120/rails-controllers?orgId=1&var-action=Projects::PipelinesController%23stage.json&var-database=influxdb-01-inf-gprd
  • https://dashboards.gitlab.net/d/000000120/rails-controllers?orgId=1&var-action=Projects::PipelinesController%23stage_ajax.json&var-database=influxdb-01-inf-gprd
  • https://dashboards.gitlab.net/d/000000126/grape-endpoints?orgId=1&var-action=Grape%23POST%20%2Fapi%2Fjobs%2Frequest&var-database=influxdb-01-inf-gprd

Plan

  • Enable feature on Sept 5 at 19:00 pm UTC for 1 hour. Confirm it didn't occur any problems/performance degradation
  • Enable feature on from Sept 6, 15:00pm to Sept 7, 15:00pm UTC. Confirm it didn't occur any problems/performance degradation
  • Enable feature on from Sept 10, 20:00pm to Sept 14, 20:00pm UTC. Confirm it didn't occur any problems/performance degradation
  • If no problem arises, enable feature permanently
Edited Feb 07, 2024 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading