promcast Star on GitHub

db-01: predicted crossing at 15:15. predict_linear: 16:00, 45 min later.

Run it against your own Prometheus. Inference runs on the CPU.

Drag the hand, or focus it and use the arrow keys.

db-01 /var/lib/postgresql

Promcast
15:15
predict_linear
16:00
Predicted crossing gap
45m
Timetable of 5 series from 13:00 to 17:45 UTC. db-01: Promcast 15:15, predict_linear 16:00. logs-01: Promcast 17:35, predict_linear 16:55. ingest-02: Promcast clear, predict_linear 16:40. web-03: Promcast clear, predict_linear clear. cache-01: Promcast clear, predict_linear clear.13:0014:0015:0016:0017:0060 %40 %30 %20 %15 %10 %7 %logs-01db-01ingest-02cache-01web-035 %limitnow 14:0016:00PROMCAST15:15LINEAR16:0045 mindifferencePROMCAST17:35LINEAR16:5540 minearlier for predict_linearLINEAR16:40linear crossesPromcast does not
Timetable of 5 series from 13:00 to 17:45 UTC. db-01: Promcast 15:15, predict_linear 16:00. logs-01: Promcast 17:35, predict_linear 16:55. ingest-02: Promcast clear, predict_linear 16:40. web-03: Promcast clear, predict_linear clear. cache-01: Promcast clear, predict_linear clear.13:0014:0015:0016:0017:0060 %40 %30 %20 %15 %10 %7 %logs-01db-01ingest-02cache-01web-035 %limitnow 14:0016:00PROMCAST15:15LINEAR16:0045 mindifferencePROMCAST17:35LINEAR16:5540 minearlier for predict_linearLINEAR16:40linear crossesPromcast does not

Drag the hand.

The forecast is inked up to the hand and faint beyond it. Each stamp marks a predicted crossing. The red bar shows the difference between two predicted crossing times from the same forecast origin; it is not an alert replay.
Arrives at 5 % free
SeriesPromcastLinear
15:1516:00
17:3516:55
clear16:40
clearclear
clearclear
edge-04/datawarming up
  • measured
  • Promcast, nine quantiles
  • predict_linear
  • 5 % free, the threshold
  • Synthetic fleet, forecast at 14:00 UTC on 10 Nov 2026 by toto-2.0-22m. 5 series, 1 warming up. scripts/synthetic_fleet.py, scripts/fleet_paths.py

Every series is a train on one clock

Promcast predicts db-01 /var/lib/postgresql crosses in 1h 15m. predict_linear says 2h 00m, 45m later, because it extends the last hour's slope and the disk is not filling in a straight line.

Time runs across the sheet and free space runs up it, on a log scale so the last few percent get room. Promcast sends nine quantile paths out of now; predict_linear sends one ruled line. A train stops where it meets the red rule, which marks its predicted crossing.

logs-01 is the honest loss: the ruler gets there 40m first. ingest-02 has a linear crossing prediction at 16:40, while Promcast predicts no crossing.

Runs on your machine. Nothing is uploaded.

In order, as the hand passes

  1. 14:00 nowNow. 5 series on one clock.
  2. 15:15 +1h 15mPromcast predicts db-01 /var/lib/postgresql crosses its limit. predict_linear says 2h 00m, 45m later.
  3. 16:00 +2h 00mpredict_linear predicts db-01 /var/lib/postgresql crosses 45m after Promcast.
  4. 16:40 +2h 40mpredict_linear predicts ingest-02 /var/spool/batch crosses; Promcast predicts no crossing.
  5. 16:55 +2h 55mpredict_linear says logs-01 /var/log fills here, 40m before Promcast.
  6. 17:35 +3h 35mPromcast predicts logs-01 /var/log crosses its limit. predict_linear says 2h 55m, 40m earlier.

One board in your terminal

 PROMCAST   prometheus:9090 · toto-2.0-22m · 14:00 UTC   First to filldb-01 /var/lib/postgresql  in 1h 15m                               now                     1h                      2h                      3h                      4h ┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼   db-01 /var/lib/postgresql    ✕─────────────────◆───────────────────────────────────────────────  1h 15m   logs-01 /var/log             ◆✕─────────  3h 35m   ingest-02 /var/spool/batch   ────────────────────────────────────────────────────────────────◆───────────────────────────────   clear   web-03 /                     ────────────────────────────────────────────────────────────────────────────────────────────────   clear   cache-01                     ────────────────────────────────────────────────────────────────────────────────────────────────   clear   edge-04 /data                ░░░░░░░░░warmingup,1h10mtofirstforecast  Promcast lead time   ✕ threshold reached   ◆ predict_linear   next promcast init http://prometheus:9090   next promcast replay --auto
 PROMCAST   prometheus:9090 · 14:00 UTC First to fill in 1h 15m db-01 /var/lib/postgresql now      1h       2h       3h       4h ┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼  db-01 /var/lib/postgresql ✕──────◆───────────────── 1h 15m  logs-01 /var/log ◆✕─── 3h 35m  ingest-02 /var/spool/batch ────────────────────────◆───────────  clear  web-03 / ────────────────────────────────────  clear  cache-01 ────────────────────────────────────  clear  edge-04 /data ░░░warmingup,1h10mtofirstforecast  lead  ✕ limit  ◆ linear next promcast init http://prometheus:9090 next promcast replay --auto
Populated. Ranked by time left. A diamond with no bar marks a crossing predicted only by predict_linear.
 PROMCAST   prometheus:9090 · toto-2.0-22m · 14:00 UTC   Past thresholddb-01 /var/lib/postgresql  3.1 % free                               now                     1h                      2h                      3h                      4h ┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼   db-01 /var/lib/postgresql    past5%free·pagenow     now   logs-01 /var/log             ◆✕─────────  3h 35m   ingest-02 /var/spool/batch   ────────────────────────────────────────────────────────────────◆───────────────────────────────   clear   web-03 /                     ────────────────────────────────────────────────────────────────────────────────────────────────   clear   cache-01                     ────────────────────────────────────────────────────────────────────────────────────────────────   clear   edge-04 /data                ░░░░░░░░░warmingup,1h10mtofirstforecast  Promcast lead time   ✕ threshold reached   ◆ predict_linear   next promcast init http://prometheus:9090   next promcast replay --auto
 PROMCAST   prometheus:9090 · 14:00 UTC Past threshold db-01 /var/lib/postgresql  3.1 % free now      1h       2h       3h       4h ┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼  db-01 /var/lib/postgresql past5%free·pagenow    now  logs-01 /var/log ◆✕─── 3h 35m  ingest-02 /var/spool/batch ────────────────────────◆───────────  clear  web-03 / ────────────────────────────────────  clear  cache-01 ────────────────────────────────────  clear  edge-04 /data ░░░warmingup,1h10mtofirstforecast  lead  ✕ limit  ◆ linear next promcast init http://prometheus:9090 next promcast replay --auto
Past threshold. A series already at 3.1 % free becomes a solid red lane that says to page now.
 PROMCAST   <redacted> · toto-2.0-22m · 14:00 UTC   First to fillhost-0b3936ab1a97 mount-174a9587d83b  in 1h 15m                               now                     1h                      2h                      3h                      4h ┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼   host-0b3936ab1a97 mount-174… ✕─────────────────◆───────────────────────────────────────────────  1h 15m   host-286568ee77b0 mount-d05… ◆✕─────────  3h 35m   host-f7c9480b4bcb mount-f59… ────────────────────────────────────────────────────────────────◆───────────────────────────────   clear   host-37bd5b361863 mount-e96… ────────────────────────────────────────────────────────────────────────────────────────────────   clear   host-446acf3a581c            ────────────────────────────────────────────────────────────────────────────────────────────────   clear   host-8481e5466f40 mount-07a… ░░░░░░░░░warmingup,1h10mtofirstforecast  Promcast lead time   ✕ threshold reached   ◆ predict_linear   next promcast init <redacted>   next promcast replay --auto
 PROMCAST   <redacted> · 14:00 UTC First to fill in 1h 15m host-0b3936ab1a97 mount-174a9587d83b now      1h       2h       3h       4h ┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┼  host-0b3936ab1a97 mount-174a9587d83b ✕──────◆───────────────── 1h 15m  host-286568ee77b0 mount-d052a5f1f7b6 ◆✕─── 3h 35m  host-f7c9480b4bcb mount-f5900d2705f3 ────────────────────────◆───────────  clear  host-37bd5b361863 mount-e963c7c34b2a ────────────────────────────────────  clear  host-446acf3a581c ────────────────────────────────────  clear  host-8481e5466f40 mount-07a82dc71bd0 ░░░warmingup,1h10mtofirstforecast  lead  ✕ limit  ◆ linear next promcast init <redacted> next promcast replay --auto
--redact. Host and mount labels are replaced with aliases.
 PROMCAST   prometheus:9090 · toto-2.0-22m · 14:00 UTC   Warming up                               now             1h              2h              3h              4h              5h              6h ┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┼   db-01 /var/lib/postgresql    ░░░░░░░░░warmingup,1h10mtofirstforecast   logs-01 /var/log             ░░░░░░░░░warmingup,1h10mtofirstforecast   ingest-02 /var/spool/batch   ░░░░░░░░░warmingup,1h10mtofirstforecast   web-03 /                     ░░░░░░░░░warmingup,1h10mtofirstforecast   cache-01                     ░░░░░░░░░warmingup,1h10mtofirstforecast   edge-04 /data                ░░░░░░░░░warmingup,1h10mtofirstforecast  Promcast lead time   ✕ threshold reached   ◆ predict_linear   next promcast init http://prometheus:9090   next promcast replay --auto
 PROMCAST   prometheus:9090 · 14:00 UTC Warming up now   1h    2h    3h    4h    5h    6h ┼┈┈┈┈┈┼┈┈┈┈┈┼┈┈┈┈┈┼┈┈┈┈┈┼┈┈┈┈┈┼┈┈┈┈┈┼  db-01 /var/lib/postgresql ░░░warmingup,1h10mtofirstforecast  logs-01 /var/log ░░░warmingup,1h10mtofirstforecast  ingest-02 /var/spool/batch ░░░warmingup,1h10mtofirstforecast  web-03 / ░░░warmingup,1h10mtofirstforecast  cache-01 ░░░warmingup,1h10mtofirstforecast  edge-04 /data ░░░warmingup,1h10mtofirstforecast  lead  ✕ limit  ◆ linear next promcast init http://prometheus:9090 next promcast replay --auto
Warming up. Fresh series show a grey lane and the time to their first forecast. No cross, no diamond, no guess.

On your own series

uvx --torch-backend cpu promcast scan
Ranks every disk, volume and memory series by when it runs out.
uvx --torch-backend cpu promcast scan --redact
Replaces host and mount labels with aliases.
uvx --torch-backend cpu promcast replay --auto
Grades alerts against your own history before you trust them.

And in Grafana

The Compose demo's synthetic disk pages at 0 B, not 5 % free: Promcast 15.5 min, predict_linear 117.5 min.

Grafana dashboard: free disk space falls into a chartreuse forecast band that reaches the dashed red full-disk line, with Promcast's minutes to breach beside predict_linear's.