amphtml
amphtml copied to clipboard
Comparable control group for canary runtime version
Currently, there's no easy way to perform A/B experiments using the 1% canary version due to the disparity in traffic volume. One way to remedy this would be by marking a portion of non-canary production traffic, equal in size to the volume of canary traffic, as being part of a 'control' group. It would be convenient if there were an analogous function to isCanary, e.g. isControl (and perhaps isProduction), such that it would be easy to identify to which group a particular instance of the runtime belongs.