S17 Phase 8: statistics
Summary
Statistics endpoints per ADR-009: aggregate and per-format at namespace level (/api/v1/:slug/statistics, /api/v1/:slug/:format/statistics), plus per-repository and per-artifact figures.
Gated on
- S18 and S22 (storage accounting): the counters and accounting model these endpoints expose. S22 spec tracked in #265 (closed).
This phase patches the S17 spec and follows the repo gate: spec MR, plan MR, implementation. Part of &22341.
Status — 2026-08-28
graph TD
S7["Step 7: Format statistics"]
S10["Step 10: Repository statistics: container"]
S20["Step 20: Version statistics: npm"]
classDef planned fill:#e0e0e0,stroke:#888888,color:#333333;
classDef inBuild fill:#ffcc66,stroke:#996600,color:#333333;
classDef open fill:#66ccff,stroke:#006699,color:#003344;
class S7,S10,S20 open
click S7 "https://gitlab.com/gitlab-org/ops/artifact-registry/-/merge_requests/2002"
click S10 "https://gitlab.com/gitlab-org/ops/artifact-registry/-/merge_requests/2030"
click S20 "https://gitlab.com/gitlab-org/ops/artifact-registry/-/merge_requests/2035"Edited by Hayley Swimelar