Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aa604a5f
Commit
aa604a5f
authored
Feb 12, 2020
by
Alper Akgun
Committed by
Marcia Ramos
Feb 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Feature percentage rollout strategy
parent
bd2736fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
doc/development/feature_flags/controls.md
doc/development/feature_flags/controls.md
+8
-3
No files found.
doc/development/feature_flags/controls.md
View file @
aa604a5f
...
...
@@ -51,7 +51,7 @@ easier to measure the impact of both separately.
GitLab's feature library (using
[
Flipper
](
https://github.com/jnunemaker/flipper
)
, and covered in the
[
Feature
Flags process
](
process.md
)
guide) supports rolling out changes to a percentage of
users. This in turn can be controlled using
[
GitLab Chatops
](
../../ci/chatops/README.md
)
.
time to
users. This in turn can be controlled using
[
GitLab Chatops
](
../../ci/chatops/README.md
)
.
For an up to date list of feature flag commands please see
[
the source
code
](
https://gitlab.com/gitlab-com/chatops/blob/master/lib/chatops/commands/feature.rb
)
.
...
...
@@ -136,8 +136,13 @@ you run these 2 commands:
/chatops run feature set some_feature 25
```
Then
`some_feature`
will be enabled for 25% of the users interacting with
`gitlab-org/gitlab`
, and no one else.
Then
`some_feature`
will be enabled for 25% of the time the users are interacting with
`gitlab-org/gitlab`
. Note that the the feature is not enabled to 25%
of the users, rather a simple randomization is made each time the
`enabled?`
is checked.
NOTE:
**Note:**
**Percentage of time**
rollout is not a good idea if what you want is to make sure a feature
is always on or off to the users.
## Cleaning up
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment