Skip to content

Commit a3a52ac

Browse files
committed
Add configuration for GraphQL A/B test
This will allow us to vary traffic between Content Store and GraphQL. The tests are currently enabled but sending 100% of traffic to Content Store. We will vary the traffic mix in later commits.
1 parent 4231616 commit a3a52ac

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

dictionaries.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
active_ab_tests:
22
Example: true
33
BankHolidaysTest: true
4+
GraphQLMinistersIndex: true
5+
GraphQLNewsArticles: true
6+
GraphQLRoles: true
47
SearchFreshnessBoost: true
58
ab_test_expiries:
69
Example: 86400
710
BankHolidaysTest: 86400
11+
GraphQLMinistersIndex: 86400
12+
GraphQLNewsArticles: 86400
13+
GraphQLRoles: 86400
814
SearchFreshnessBoost: 86400
915
# AB test percentages
1016
example_percentages:
@@ -13,6 +19,18 @@ example_percentages:
1319
bankholidaystest_percentages:
1420
A: 99
1521
B: 1
22+
graphql_ministers_index_percentages:
23+
A: 0
24+
B: 0
25+
Z: 100
26+
graphql_news_articles_percentages:
27+
A: 0
28+
B: 0
29+
Z: 100
30+
graphql_roles_percentages:
31+
A: 0
32+
B: 0
33+
Z: 100
1634
searchfreshnessboost_percentages:
1735
A: 50
1836
B: 50

www/ab_tests.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
- BankHolidaysTest:
88
- A
99
- B
10+
- GraphQLMinistersIndex:
11+
- A
12+
- B
13+
- Z
14+
- GraphQLNewsArticles:
15+
- A
16+
- B
17+
- Z
18+
- GraphQLRoles:
19+
- A
20+
- B
21+
- Z
1022
- SearchFreshnessBoost:
1123
- A
1224
- B

0 commit comments

Comments
 (0)