Infrastructure forecasting

Infrastructure forecasting

When will each service run short, if nothing changes?

Capacity gauges for disk, database connections, queue depth and memory with days until each limit

Open Reliability Intelligence → Infrastructure forecasting. Forecasts are calculated from your telemetry with plain statistics. No AI model is involved.

Note:A forecast is an estimate, not a measurement. Every forecast shows its interval, its confidence and the reasons for that confidence. With less than 7 days of data, or data covering less than 60% of the hours, there is no forecast, only the reason.

What is forecast

ResourceMetric (from telemetry)Limit
CPUcpu_pct — hourly peak100% (or yours)
Memorymemory_mb — hourly peakSet by you, e.g. the container limit
Diskdisk_used_pct — hourly peak, 90-day horizon100% (or yours)
Database connectionsdb_connections — hourly peakSet by you, e.g. max_connections
Database sizedb_size_gb — 90-day horizonSet by you, e.g. the volume size
Queue depthqueue_depth — hourly peakSet by you
Request volumerequest_count — hourly totalSet by you: what you know the service handles

The metrics come from your telemetry connections. With OpenTelemetry, system.filesystem.utilization, db.client.connections.usage, db.size (bytes) and messaging.queue.depth or a consumer-lag metric are mapped automatically. CPU, memory and request counts are mapped as before.

How the forecast is made

  • The last 60 days become hourly points: the peak for utilisation and size, the total for requests.
  • A trend is fitted together with a pattern: the hour of the week with at least 14 days of data, otherwise the hour of the day. A nightly backup or a Monday peak therefore stays in the forecast.
  • The forecast runs 30 days ahead (90 for disk and database size). Its 95% interval widens the further ahead it goes.
  • For the warning level (80% of the limit unless you choose otherwise) and for the limit, you see the expected date, the earliest (when the upper bound reaches it) and the latest (when the lower bound does).

Confidence and accuracy

  • Backtest: each forecast is also fitted without the last 7 days and compared with them. That gives the average error and the share of values that fell inside the interval.
  • Confidence is high, medium or low, based on the length of history, the backtest error, the interval coverage and gaps in the data. The reasons are listed.
  • Measured accuracy: forecasts are kept for 90 days. A week later, the forecast made then is compared with what actually happened.
  • The page also shows how the forecast date moved from run to run.

Findings

Forecasts update every 6 hours, or straight away with Forecast now. A finding is raised for the service owner when:

  • a resource is expected to reach its limit within 7 days (critical) or 14 days (high);
  • it is expected to reach its warning level within 14 days (high) or 30 days (medium).

A low-confidence forecast never raises more than a medium finding. Findings are marked as inferred, and resolve themselves when a later forecast no longer reaches the threshold in time.

Forecasts don’t know about launches, migrations or traffic changes that haven’t happened yet. Set limits under Capacity limits on the same page.