-
Notifications
You must be signed in to change notification settings - Fork 594
Expand file tree
/
Copy pathfeature-flags.json.sample
More file actions
40 lines (40 loc) · 961 Bytes
/
feature-flags.json.sample
File metadata and controls
40 lines (40 loc) · 961 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"schemaVersion": "2.0.0",
"feature_management": {
"feature_flags": [
{
"id": "my-agent",
"enabled": true,
"variants": [
{
"name": "agent_v1",
"configuration_value": "<agent-id-1-placeholder>"
},
{
"name": "agent_v2",
"configuration_value": "<agent-id-2-placeholder>"
}
],
"allocation": {
"percentile": [
{
"variant": "agent_v1",
"from": 0,
"to": 50
},
{
"variant": "agent_v2",
"from": 50,
"to": 100
}
],
"default_when_enabled": "agent_v1",
"default_when_disabled": "agent_v1"
},
"telemetry": {
"enabled": true
}
}
]
}
}