diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-14 18:08:06 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-14 18:08:06 +0000 |
commit | 30b17460a2569734cf04dae1b2841d3654b2c0ec (patch) | |
tree | 86eb199f8a21eadeff824b26a8736986266a9a31 /lib | |
parent | 87f286558de1f5790b0b1742f10548387b5d147a (diff) | |
download | gitlab-ce-30b17460a2569734cf04dae1b2841d3654b2c0ec.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/experimentation.rb | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/lib/gitlab/experimentation.rb b/lib/gitlab/experimentation.rb index 5b57d7929a6..0097961eed4 100644 --- a/lib/gitlab/experimentation.rb +++ b/lib/gitlab/experimentation.rb @@ -8,16 +8,22 @@ # - tracking_category (optional, used to set the category when tracking an experiment event) # # The experiment is controlled by a Feature Flag (https://docs.gitlab.com/ee/development/feature_flags/controls.html), -# which is named "#{key}_experiment_percentage" and *must* be set with a percentage and not be used for other purposes. -# To enable the experiment for 10% of the users (determined by the `experimentation_subject_index` value from a cookie): +# which is named "#{experiment_key}_experiment_percentage" and *must* be set with a percentage and not be used for other purposes. # -# chatops: `/chatops run feature set key_experiment_percentage 10` -# console: `Feature.get(:key_experiment_percentage).enable_percentage_of_time(10)` +# To enable the experiment for 10% of the users: +# +# chatops: `/chatops run feature set experiment_key_experiment_percentage 10` +# console: `Feature.get(:experiment_key_experiment_percentage).enable_percentage_of_time(10)` # # To disable the experiment: # -# chatops: `/chatops run feature delete key_experiment_percentage` -# console: `Feature.get(:key_experiment_percentage).remove` +# chatops: `/chatops run feature delete experiment_key_experiment_percentage` +# console: `Feature.get(:experiment_key_experiment_percentage).remove` +# +# To check the current rollout percentage: +# +# chatops: `/chatops run feature get experiment_key_experiment_percentage` +# console: `Feature.get(:experiment_key_experiment_percentage).percentage_of_time_value` # module Gitlab module Experimentation @@ -25,6 +31,9 @@ module Gitlab signup_flow: { tracking_category: 'Growth::Acquisition::Experiment::SignUpFlow' }, + onboarding_issues: { + tracking_category: 'Growth::Conversion::Experiment::OnboardingIssues' + }, suggest_pipeline: { tracking_category: 'Growth::Expansion::Experiment::SuggestPipeline' }, |