Most lightweight FinOps scripts work on one subscription and collapse on an enterprise estate, triggering 429 Too Many Requests lockouts or crashing browser tabs on multi-gigabyte exports. Trimline was engineered to scale across Enterprise Agreements without backend server cost.
The bottlenecks we solved
- No per-subscription API loops. Trimline batches up to 1,000 subscription IDs per Azure Resource Graph POST with server-side KQL aggregation: 5,000 subscriptions in 5 requests, and 500 subscriptions with 100,500 resources in full simulated runs with zero failures.
- Header-aware rate-limit pacing. The scanner reads Microsoft's x-ms-user-quota-remaining headers instead of blind retry sleeps. In a live multi-level Management Group test in our own tenant it completed 60 of 60 calls with zero throttling at $0 cost.
- Native gzip streaming. .csv.gz exports stream through the browser's native decompression: a 2-million-row file in about 9 seconds and a 5-million-row file in about 25 seconds, with no unzipping on a laptop.
Honest scope disclosure. The 500-subscription and 5,000-subscription sweeps were validated against simulated Azure CLI fixtures alongside Microsoft's open-source EA and FOCUS sample datasets. Live Management Group traversal and quota pacing were verified against Microsoft's production API in our own tenant.