Tenant Quotas & Query Budget Management Page
Create an Angular page for managing tenant quotas and query budgets using the existing quotas and query_budget infrastructure.
Backend Endpoints Needed
GET /admin/quotas — List all tenant quotas
PUT /admin/quotas/{tenant} — Update quota for a tenant
GET /admin/quotas/{tenant}/usage — Current usage for a tenant
GET /admin/budgets — List all query budgets
PUT /admin/budgets/{name} — Update query budget
GET /admin/budgets/{name}/status — Current budget consumption
UI Requirements
Quota Management
- Tenant Quotas Table: Tenant name, max keys, max storage, current usage, usage %
- Usage Bars: Visual progress bars showing consumption
- Quota Editor: Edit limits for each tenant
- Bulk Edit: Apply same limits to multiple tenants
- Over Quota Alerts: Highlight tenants at/near capacity
Query Budget
- Budget Cards: Name, max queries/min, current rate, status
- Status: Available / Exhausted / Degraded with color coding
- Budget Editor: Configure max queries per time window
- Consumption History: Chart showing usage over time
Acceptance Criteria
Parent Epic
#290
Tenant Quotas & Query Budget Management Page
Create an Angular page for managing tenant quotas and query budgets using the existing
quotasandquery_budgetinfrastructure.Backend Endpoints Needed
UI Requirements
Quota Management
Query Budget
Acceptance Criteria
Parent Epic
#290