Page MenuHomePhabricator

Enable "Sub-Saharan Africa editors by user agent" superset dashboard to update itself automatically
Closed, ResolvedPublic

Description

In T314202, we created the Sub-Saharan Africa Editors by User Agent superset dashboard.

This task involves the work with making it so said dashboard can update itself automatically. Note: This can be done by changing the dataset to use EditAttemptStep, which now includes geo location data and can queried directly from Superset.

Requirements

NOTE: the other two tabs within this dashboard – SSA Editors by Project and Country and All Editors by Project and Location – update mothly.

Open questions

  • 1. How frequently can/should the dashboard be automatically updated?
    • Dashboard will update automatically in real-time

Done

  • Answers to all Open questions are documented
  • Requirements are implemented

Event Timeline

MNeisler triaged this task as Medium priority.Sep 15 2022, 6:51 PM
MNeisler moved this task from Triage to Upcoming Quarter on the Product-Analytics board.

Resolving T314178, would make it so the data within Superset would update itself automatically making this ticket obsolete.

@ppelberg

I've updated the "Sub-Saharan Africa Editors by user agent" dashboard so it now updates automatically to show the latest user agent data on edits from SSA. Instead of a snapshot of data, the dashboard is now set to automatically query data from EditAttempStept. By using EditAttemptStep, we also have access to the Platform field so I added a platform filter to view the data by desktop or phone.

Load Time
Note: This will result in longer load times. It may take up between 1 to 2 minutes for the dashboard to update. If this longer load time causes frequent timeouts, we may need to reopen this task to create a smaller subset of aggregate data and ETL job to automate the update. I've set the default time range to the last 7 days to help minimize load time. This time range can be extended with the provided filters but may cause timeouts if too long of a time range is selected.

Let me know if you have any questions or suggested updates.