Skip to content

T370851 T371258 T349285 New WD, WDQS and WD REST API DAGs

Andrew McAllister (WMDE) requested to merge T370851-T371258-T349285-wmde-dags into main

Contributor checklist

Description

This MR adds in three new DAGs to the wmde Airflow instance:

  • wd_query_segments_daily: Daily segments of Wikidata Query Service queries into a partition based on query triple characteristics
  • wd_device_type_edits_daily: Daily metrics of device type edits on Wikidata looking at mobile and desktop as well as other
  • wd_rest_api_user_agents_monthly: Monthly export of WD REST API user agents and their total requests for easy WMDE Product inspection

Test outputs

  • wd_query_segments_daily
day total_wdqs_queries total_single_entity total_all_entity_statements total_single_term_statement total_single_inverse_statement total_single_instance_or_subclass_statement total_single_known_relation_statement total_single_unknown_relation_statement total_complex_queries
2024-09-01 8833718 74316 17143 284645 437955 311713 44941 33178 629827
  • wd_device_type_edits_daily
day total_wd_edits total_edits_mobile total_edits_desktop total_edits_other
2024-09-01 362925 985 71214 290726
  • wd_rest_api_user_agents_monthly

Running the tests produced the desired data of user agents and total WD REST API requests in the period.

Related task(s)

  • wd_query_segments_daily: T370851
  • wd_device_type_edits_daily: T371258
  • wd_rest_api_user_agents_monthly: T349285
Edited by Andrew McAllister (WMDE)

Merge request reports