A Python usage tracking system for SaaS applications. Tracks API calls, storage, compute minutes, and custom metrics with quota enforcement, billing period aggregation, idempotency protection, and bil
Browse the actual product documentation and code examples included in this toolkit.
Key features of Usage Metering
• Event recording — Track any metric (API calls, storage, compute, custom) • Quota enforcement — Per-plan limits with configurable overage policies • Idempotency — Dedup protection prevents double-counting on retries • Usage summaries — Aggregate by tenant, metric, and billing period • Billing reports — Generate billing-ready reports with overage calculations • Top users — Identify heaviest users within a tenant
Event recording — Track any metric (API calls, storage, compute, custom)
Quota enforcement — Per-plan limits with configurable overage policies
Idempotency — Dedup protection prevents double-counting on retries
Usage summaries — Aggregate by tenant, metric, and billing period
Billing reports — Generate billing-ready reports with overage calculations
Top users — Identify heaviest users within a tenant
Configure Usage Metering parameters to see how the product works.
python src/main.py --init-demo