Concepts

Forecast and budget

Monthly budget

Set one monthly budget for the workspace on the Budget page. It counts every environment, because every environment is on your provider bill. The overview shows what is left. Zexl never blocks a call.

Forecast

The Forecast page, the overview, the budget page and the MCP tool zexl_forecast all show where this month's spend is likely to end.

How it is worked out, in plain statistics:

  1. Zexl takes the daily spend of the last 28 full days.
  2. It fits a straight line through them. Recent days count more: a day's weight halves every 7 days back.
  3. The trend is damped: each future day continues it at 90% of the day before, so one sharp rise does not run away.
  4. With 3 weeks of data, busy and quiet weekdays are taken into account.
  5. Forecast = spent so far + the rest of today + each remaining day.
  6. The likely range comes from how far real days strayed from the line. The month should end inside it about 4 times out of 5.

With under 3 full days of data, the forecast uses the pace so far instead, with a wide range.

The forecast page also shows the day the running total is expected to pass the budget, if it does.

A launch, a new feature or a fixed loop changes the line. The forecast follows within a few days.

Coming soon

  • Alerts at 50%, 80% and 100% of the budget, and when the forecast passes it.
  • Budgets per feature and per environment.
  • An optional hard limit, through the gateway.