Background
- The purpose of this ticket is to validate the sample rate adjustments made for events originating through the Metrics Platform on both mobile and desktop platforms. These adjustments are necessary to align the sample rates with the current configurations of the Event Platform. Ensuring accurate sample rates is crucial for maintaining data integrity and consistency across platforms, which ultimately impacts the quality of data analysis.
User story
- As an engineer, I want to validate the sample rate adjustments for desktop and mobile platforms, so that the sample rates reflect the configurations of the Event Platform and ensure data consistency and accuracy.
Requirements
- Ensure that the sample rates for Metrics Platform desktop and mobile events are set as per the Event Platform configurations.
- Validate that the local setup reflects the new sample rates accurately.
- Obtain confirmation from a member of the Data Engineering/MP team on the correctness of the implementation.
BDD
- For QA engineer to fill out
Test Steps
Go to
https://superset.wikimedia.org/
SELECT sample, session_id FROM event.mediawiki_web_ui_actions WHERE year = 2024 AND month = 4 AND day = 5;
SELECT sample, performer.session_id FROM event.mediawiki_web_ui_actions WHERE year = 2024 AND month = 6 AND day = 3;
Verify that sampling rates are now at 20%
Design
- Not applicable (no mockups or design requirements for this validation task)
Acceptance criteria
- The sample rates for both Metrics Platform web mobile and desktop events reflect the configurations set by the Event Platform.
- Successful verification and validation of sample rates locally and across different instances.
- Confirmation from Data Engineering/MP team on the correctness of the sample rate adjustments.
- No discrepancies found during post-implementation testing.
Communication criteria - does this need an announcement or discussion?
- This task may require discussion with the Data Engineering/MP team for confirmation and validation purposes but does not need a formal announcement.
Rollback plan
- If the sample rate adjustments are found to be incorrect, revert to the previous sample rate configurations as documented before the changes were made. Coordinate with the Data Engineering/MP team to ensure the rollback is completed smoothly.
This task was created by Version 1.0.0 of the Web team task template using phabulous