Commit 6281f38b authored by Matthias Käppler's avatar Matthias Käppler

Merge branch '339486-change-feature-flag-to-ops' into 'master'

Change ci_pipeline_creation_step_duration_tracking FF to be ops type

See merge request gitlab-org/gitlab!69707
parents 4e11ba36 287a5628
......@@ -3,6 +3,6 @@ name: ci_pipeline_creation_step_duration_tracking
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68485
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/339486
milestone: '14.2'
type: development
type: ops
group: group::pipeline execution
default_enabled: true
default_enabled: false
......@@ -88,7 +88,7 @@ module Gitlab
end
def observe_step_duration(step_class, duration)
if Feature.enabled?(:ci_pipeline_creation_step_duration_tracking, default_enabled: :yaml)
if Feature.enabled?(:ci_pipeline_creation_step_duration_tracking, type: :ops, default_enabled: :yaml)
metrics.pipeline_creation_step_duration_histogram
.observe({ step: step_class.name }, duration.seconds)
end
......
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