Problem
We've been making an effort to reduce the amount of technical jargon used in xLab's instrument and experiment configuration forms in order to make them more accessible for PMs. This has caused the UI copy to divert from the terminology used in the code.
We recently recognized that the target users of the instrument configuration form will mainly be engineers. The fact that the connection between the form's UI and the code is lost could now instead hinder their workflow.
Suggested solution
We should revert some of the changes applied to the copy of the 'Traffic' (fka 'Sampling') section of the Instrument configuration form to make sure it's aligned with the terminology used in Metrics platform's technical documentation and code.
- 'Traffic' section: This section's title should be reverted to 'Sampling'
- 'Sample unit' field: 2.1. The field's description should be updated for accuracy to 'Defines the scope of the user activity to be tracked, and how it’s grouped for analysis. Learn more'. 2.2. The 'Learn more' link's URL should be replaced by https://wikitech.wikimedia.org/wiki/Metrics_Platform/Analytics_sampling#Sample_unit.
- 'User traffic per wiki' field: 3.1. This field's title is updated to 'Sample rate per wiki'. 3.2. The description changes to: 'Define the sample rate that should be applied to each relevant wiki. Traffic from both desktop and mobile webs will be included by default. Learn more'. 3.3. The URL of the description's 'Learn more' link should be https://wikitech.wikimedia.org/wiki/Metrics_Platform/Analytics_sampling#Sample_rate. 3.4. The label of the 'Traffic (%)' field is changed back to 'Sample rate'. 3.5. The input to this field is expressed by decimal numbers between 0 and 1. 3.6. We adjust the copy of the validation messages as needed.
Acceptance criteria
- We update the Sampling section in the instrument configuration form to align it with code terminology
