Wikidata Analytics Request
This task was generated using the Wikidata Analytics request form. Please use the task templates linked on our project page to create tasks for the team. Thank you!
Purpose
Please provide as much context as possible as well as what the produced insights or services will be used for.
The Wikibase Reuse team will release GraphQL v1 in Feb 2026 and we'd like to have a superset dashboard to track the usage.
Desired Outputs
The desired outputs of this task are listed as check boxes and confirmed as being finished below.
The following metrics should be available:
- Total number of requests monthly
- Total number of distinct actors monthly
- Total number of requests per distinct actor monthly
Deadline
Please make the time sensitivity of this request clear with a date that it should be completed by. If there is no specific date, then the task will be triaged based on its priority.
28.2.2026
Information below this point is filled out by the task assignee.
Assignee Planning
Sub Tasks
A full breakdown of the steps to complete this task.
- Define terms needed for the task
- actors: distinct user agents and ips
- GraphQL endpoint: uri_query LIKE '?action=wbgraphql%' (comes from T417026)
- Write create table and job queries
- Jobs are one for deriving metadata that deletes data after two months and another for monthly metrics
- Queries written except for information needed above, which will take 2 mins to add in :)
- Test queries on local schema (can be done once GraphQL endpoint is released)
- Write DAG for metric generation orchestration (data-engineering/airflow-dags/merge_requests/1983)
- Deploy DAG
- Add charts to WD API metrics dashboard (three columns for comparison with REST and Action APIs)
Estimation
Estimate: 1-2 days
Actual:
Data
The tables that will be referenced in this task and the samples from them that will be used.
- wmf.webrequest
- sample_size: No need to sample as the request load is very low (yet to be released)
Notes
Things that came up during the completion of this task, questions to be answered and follow up tasks.
- Note