Skip to content

Instance Statistics MVP: object counts [BE]

Overview

In &4147 (closed), we describe the need for an instance-level overview of instance activity.

frontend issue: #235754 (closed)

Proposal

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.

image

Implementation plan

  • Create database table and dummy GraphQL endpoint (weight: 2)
  • Implement the query logic using BatchCount and `created_at (weight: 3)
  • Set up the cron job (weight 1)

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖