Skip to content

[Feature flag] Rollout of `ci_accept_frontend_prometheus_metrics`

What

Remove the :ci_accept_frontend_prometheus_metrics feature flag introduced by !52820 (merged)

Owners

  • Team: grouppipeline authoring
  • Most appropriate slack channel to reach out to: #g_pipeline_authoring
  • Best individual to reach out to: @mbobin

Expectations

What are we expecting to happen?

We should gather data for the following metrics: https://thanos.gitlab.net/graph?g0.range_input=1h&g0.max_source_resolution=0s&g0.expr=pipeline_graph_link_calculation_duration_seconds&g0.tab=1&g1.range_input=1h&g1.max_source_resolution=0s&g1.expr=pipeline_graph_links_total&g1.tab=1&g2.range_input=1h&g2.max_source_resolution=0s&g2.expr=pipeline_graph_link_per_job_ratio&g2.tab=1

What might happen if this goes wrong?

What can we monitor to detect problems with this?

Beta groups/projects

If applicable, any groups/projects that are happy to have this feature turned on early. Some organizations may wish to test big changes they are interested in with a small subset of users ahead of time for example.

  • gitlab-org/gitlab project
  • gitlab-org/gitlab-com groups
  • ...

Roll Out Steps

  • Enable on staging (/chatops run feature set ci_accept_frontend_prometheus_metrics true --staging)
  • Test on staging
  • [-] Ensure that documentation has been updated
  • Enable on GitLab.com for individual groups/projects listed above and verify behaviour (/chatops run feature set --project=gitlab-org/gitlab ci_accept_frontend_prometheus_metrics true)
  • Coordinate a time to enable the flag with the SRE oncall and release managers
    • In #production mention @sre-oncall and @release-managers. Once an SRE on call and Release Manager on call confirm, you can proceed with the rollout
  • Announce on the issue an estimated time this will be enabled on GitLab.com
  • Enable on GitLab.com by running chatops command in #production (/chatops run feature set feature_name true)
  • Cross post chatops Slack command to #support_gitlab-com (more guidance when this is necessary in the dev docs) and in your team channel
  • Announce on the issue that the flag has been enabled
  • Remove feature flag and add changelog entry
  • After the flag removal is deployed, clean up the feature flag by running chatops command in #production channel

Rollback Steps

  • This feature can be disabled by running the following Chatops command:
/chatops run feature set --project=gitlab-org/gitlab ci_accept_frontend_prometheus_metrics false
Edited by Marius Bobin