Add cached storage metrics refresh for backup data dashboards #98

Open
opened 2026-06-08 22:40:15 +02:00 by parkel · 0 comments
Owner

Design and implement a durable storage metrics model so dashboard storage data, host backup data, storage runway, and related observability views are based on cached measurements rather than request-time scans. Measurements may be refreshed periodically by the worker/scheduler, and admins should have a way to request a manual refresh when needed.

Acceptance criteria:

  • Define which values are stored per snapshot, per host, and globally: allocated size, apparent size, unique/non-hardlinked estimates, measurement status, measured_at, source, and errors.
  • Add a safe periodic refresh path outside web requests, with bounds/timeouts or chunking for large targets.
  • Add a staff-only manual refresh action or queue trigger for stale/missing metrics.
  • Dashboard and host pages clearly show freshness/unknown states.
  • Storage runway calculations use explicit cached capacity/growth data and document assumptions.
  • Split implementation into smaller issues if the design grows beyond one PR.
Design and implement a durable storage metrics model so dashboard storage data, host backup data, storage runway, and related observability views are based on cached measurements rather than request-time scans. Measurements may be refreshed periodically by the worker/scheduler, and admins should have a way to request a manual refresh when needed. Acceptance criteria: - Define which values are stored per snapshot, per host, and globally: allocated size, apparent size, unique/non-hardlinked estimates, measurement status, measured_at, source, and errors. - Add a safe periodic refresh path outside web requests, with bounds/timeouts or chunking for large targets. - Add a staff-only manual refresh action or queue trigger for stale/missing metrics. - Dashboard and host pages clearly show freshness/unknown states. - Storage runway calculations use explicit cached capacity/growth data and document assumptions. - Split implementation into smaller issues if the design grows beyond one PR.
parkel added this to the 1.4 milestone 2026-06-08 22:40:15 +02:00
parkel added the area: observabilityfeature labels 2026-06-08 22:40:15 +02:00
Sign in to join this conversation.