Set up Superset dashboard for monitoring DE4 metric time to revert bad-faith edits
Closed, ResolvedPublic

Description

Background

PSI added the dbt model time_to_revert_bad_faith_edits and scheduled it to update monthly via AirFlow, in T425105.

We now need to set up a dashboard on Superset so the team can view the data.

Acceptance criteria
  • A dashboard is available in Superset for viewing time to revert bad-faith edits
  • The dashboard has charts for English, German, Spanish, Japanese, and French Wikipedias (update: all 5 are on one chart)
Dashboard

https://superset.wikimedia.org/superset/dashboard/788

Details

Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
Calculate start_date from end_date in time_to_revert_bad_faith_editsrepos/data-engineering/dbt-jobs!60tchanderspsi-start-datemain
Remove start_date variable from product-safety-and-integrity.yamlrepos/data-engineering/airflow-dags!2234tchanderspsi-remove-date-variablemain
Customize query in GitLab

Event Timeline

The dashboard is available here: https://superset.wikimedia.org/superset/dashboard/788

  • The dashboard has charts for English, German, Spanish, Japanese, and French Wikipedias

Given that we will track multiple metrics in this dashboard, we combine all 5 wikis for the same metric in one chart, to make the dashboard easier to read

amastilovic merged https://gitlab.wikimedia.org/repos/data-engineering/dbt-jobs/-/merge_requests/60

Calculate start_date from end_date in time_to_revert_bad_faith_edits

There is still discussion over whether this metric needs any more changes, so let's leave this task open until those are resolved.

We should backfill the dashboard too (T424713) but that's not worth doing while the metric might still change.