Configure cost, usage, and balance alerts and understand their evaluation SLAs.
Alert type | Scope | Fires when… | Webhook event(s) |
---|---|---|---|
Subscription usage | Upcoming subscription invoice + billable metric | Usage for the metric on the draft invoice crosses any configured threshold. | subscription.usage_exceeded |
Subscription cost | Upcoming subscription invoice | Running invoice total (after any credit offsets) crosses any configured monetary threshold. | subscription.cost_exceeded |
Credit balance depleted | Customer | Prepaid balance transitions > 0 → 0. | customer.credit_balance_depleted |
Credit balance dropped | Customer | Prepaid balance transitions ≥ threshold → below threshold. | customer.credit_balance_dropped |
Credit balance recovered | Customer | Prepaid balance transitions 0 → above 0. | customer.credit_balance_recovered |
Path | Eligibility | Latency |
---|---|---|
Real‑time | Draft invoices for the customer contain only decomposable line items (metrics that are possible to incrementally compute, e.g., SUM or COUNT ). | Seconds to minutes |
Periodic | A metric (e.g., COUNT DISTINCT , percentile metrics) is present that requires scanning the full events dataset for the billing period. | Periodically, but Orb provides an option for commercial add-ons on Advanced and Enterprise agreements that guarantee tight SLAs. |