Skip to content

feat: allow requesting egress data for a full year#42

Merged
volmedo merged 1 commit intomainfrom
vic/fix/egress-get-increased-period
Mar 4, 2026
Merged

feat: allow requesting egress data for a full year#42
volmedo merged 1 commit intomainfrom
vic/fix/egress-get-increased-period

Conversation

@volmedo
Copy link
Member

@volmedo volmedo commented Mar 3, 2026

Allow querying egress data for 365 days, which is what we show in the Dashboard view of the customer dashboard.

This should be manageable because the spacestats table is keyed by space+date, and egress is accumulated daily, so the query returns at most 365 results per space.

There's an actual risk coming from accounts with lots of spaces (likely not an issue below 100 spaces), because those are queried serially. I created #41 so that we don't lose track of this.

@volmedo volmedo requested a review from a team March 3, 2026 16:44
@volmedo volmedo self-assigned this Mar 3, 2026
@volmedo volmedo merged commit 7c7c43b into main Mar 4, 2026
6 checks passed
@volmedo volmedo deleted the vic/fix/egress-get-increased-period branch March 4, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants