You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SI-4: Migrate stats context to contract-first architecture #1942
Subissue of EPIC #1938 — REST API Contract-First Migration
Problem
The stats context is the most complex in the REST API. It has two endpoints (GET /stats, GET /metrics) aggregating data from 6+ tracker internal repositories across tracker-core, http-core, udp-core, udp-server, swarm-coordination-registry, and rest-api-core. The Stats DTO has ~28 fields. The Axum server injects all dependencies as multi-element state tuples.
Scope
Define Stats and LabeledStats DTOs (~28 fields) in rest-api-protocol
Define StatsQueryPort trait in rest-api-application
Activity
docs(1938): add EPIC and sub-issue specs for REST API contract-first …
Merge #1936: feat(rest-api): adopt contract-first REST API architectu…
Merge #1960: chore(docs): close SI-1 through SI-5 issue specs and upd…
Merge #2506: docs(issues): [#2505] add specification for the UDP bann…
docs(issues): [torrust#2521] use stable issue references in related a…
docs(issues): [torrust#2521] use stable issue references in related a…
refactor(udp-core): [torrust#2505] remove the unused BanningStats tra…
docs(issues): [torrust#2521] use stable issue references in related a…
refactor(udp-core): [torrust#2505] remove the unused BanningStats tra…
Merge #2522: docs(issues): [#2521] add issue specification for #2521
refactor(udp-core): [torrust#2505] remove the unused BanningStats tra…