feat: add bandwidth saved stat to dashboard #65

Merged
benvin merged 1 commits from benvin/bandwidth-saved-stat into master 2026-06-27 22:18:02 +10:00
Owner

Shows total bytes served from cache (instead of upstream) over the last 30 days. Queries SUM(size_bytes) WHERE cache_hit = TRUE from access_log.

Shows total bytes served from cache (instead of upstream) over the last 30 days. Queries `SUM(size_bytes) WHERE cache_hit = TRUE` from access_log.
unkinben added 1 commit 2026-06-27 08:10:29 +10:00
feat: add bandwidth saved stat to dashboard
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
8e1f950433
Queries access_log for cache hits in the last 30 days and sums their
size_bytes. Displayed as a new StatsCard on the dashboard.
benvin merged commit 8d9bc1c422 into master 2026-06-27 22:18:02 +10:00
benvin deleted branch benvin/bandwidth-saved-stat 2026-06-27 22:18:03 +10:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/artifactapi#65