Instance Statistics MVP: object counts [BE]
In &4147, we describe the need for an instance-level overview of instance activity.
Introduce the Instance Statistics page in the admin panel.
- Show counts for users, projects, groups, issues, MRs, and pipelines. These counts should include the total number of these objects on the instance.
- Query and store these counts daily for performance. Show when the data was pulled.
Create database table and dummy GraphQL endpoint (weight: 2)
Implement the query logic using
BatchCountand `created_at (weight: 3)
Set up the cron job (weight 1)