Progressive rollout
A progressive rollout allows you to increase the percentage of your flag over time.
You can select a release ramp where the percentage of your flag will increase progressively between the start date and the end date.
Example
- YAML
- JSON
- TOML
progressive-flag:
variations:
variationA: A
variationB: B
defaultRule:
progressiveRollout:
initial:
variation: variationB
percentage: 0
date: 2021-03-20T00:00:00.1-05:00
end:
variation: variationB
percentage: 100
date: 2021-03-21T00:00:00.1-05:00
{
"progressive-flag": {
"variations": {
"variationA": "A",
"variationB": "B"
},
"defaultRule": {
"progressiveRollout": {
"initial": {
"variation": "variationB",
"percentage": 0,
"date": "2021-03-20T05:00:00.100Z"
},
"end": {
"variation": "variationB",
"percentage": 100,
"date": "2021-03-21T05:00:00.100Z"
}
},
}
}
}
[progressive-flag.variations]
variationA = "A"
variationB = "B"
[progressive-flag.defaultRule.progressiveRollout.initial]
variation = "variationB"
percentage = 0
date = 2021-03-20T05:00:00.100Z
[progressive-flag.defaultRule.progressiveRollout.end]
variation = "variationB"
percentage = 100
date = 2021-03-21T05:00:00.100Z
Configuration fields
info
The dates are in the format supported natively by your flag file format.
Field | Description |
---|---|
releaseRamp | It contains the time slot where we will progressively increase the percentage of the flag.
If you have no date in your |
percentage | (optional) It represents the ramp of progress, at which level the flag starts ( initial ) and ends (end ).Default: initial = 0 and end = 100 |