Warnings before the page,
not after.
Tail predicts incidents in three ways. It forecasts what is about to run out, scores how risky each change is, and spots the early steps of incidents you have had before. Every warning says how long you have and how often that warning has been right.
Forecast for ledger-pgsample data
The pool will be full in about 18 minutes
connections in use, of 86 now
14:00now, 14:248 of 8 at about 14:42
- Change risk
- PR #412 scores 0.81, which is high.
- Track record
- This warning has been right 3 times out of 4.
From 41,200 signals to 2 warnings.
Cheap detectors look at everything, trained models score what they flag, and the LLM only sees the handful worth judging. That is how Tail stays fast, affordable and quiet.
- Signals watchedMetrics, logs, deploys and flags, every day.41,200
- Flagged by detectorsBaselines, change points and forecasts flag what moved.312
- Scored high by modelsChange-risk and time-to-incident models score what was flagged.9
- Sent as warningsThe LLM judges the few that are left and writes the warning.2
This is a sample day for a team with about 40 services. Bar lengths use a log scale.
Each layer does what it is best at.
Numbers that change are a job for statistics and trained models. Text and code that mean something are a job for the LLM. The strongest warnings use both.
Layer 1
Detectors watch every signal cheaply.
They learn seasonal baselines for each service and time of week, find change points after deploys, forecast time to a limit, and compare canaries with the fleet. They run next to your data, inside the Tail agent.
Layer 2
Models score what the detectors flag.
A change-risk model scores every pull request and deploy. A time-to-incident model is trained on the windows before your past incidents. Both are fast enough to run inside a CI check.
Layer 3
The LLM judges the few that matter.
It reads the diff, the commit message and the incident memory, decides whether the warning is real, and writes it in plain words with the evidence attached.
# commit a3f9c21
tune ledger pool for new pgbouncer
pgbouncer only fronts catalog-search
Every change gets a score before it ships.
Tail scores each pull request and deploy from what it touches, how much it could affect, and how similar changes turned out in your history. Every score shows what drove it, so engineers can check it in seconds.
- Diff
- Which config keys it touches, like pool sizes, timeouts and replicas, and whether it runs a migration.
- Blast radius
- Which services share what it changes, taken from the system map.
- History
- How the most similar past changes turned out.
- Context
- The time of day, traffic peaks and who is on call.
PR #412double checkout-api workers
scored in 140 ms
0.81High, so the merge is blocked
Changes like this start at 0.07.
- The change touches a shared pool size.+0.31
- Workers doubled but the pool did not.+0.22
- 2 of the 3 most similar changes were followed by a page.+0.18
- It ships during the holiday traffic peak.+0.07
- Tests and the canary pass.−0.04
The LLM adds that the commit message assumes a pgbouncer, but pgbouncer only fronts catalog-search.
Time to incidentafter step 2 of INC-2026-0814
now50% by about 22 minutes40 min
Not just “risky”, but how long you have.
A survival model, trained on the windows before your past incidents, estimates how likely an incident is over the next few minutes. That is where “likely incident in about 22 minutes” comes from.
It also handles incidents that never happened because someone fixed them first. Those count as unfinished, not as false alarms, so acting on a warning does not teach the model to stop warning.
Which failures each one catches.
If a failure shows up as numbers changing, a model catches it. If it shows up as text or code that means something, the LLM does. Many need both.
| Failure | Caught by | Example warning |
|---|---|---|
| Running out of disk, memory, connections or quota | Model | The ledger-pg pool reaches 8 of 8 at about 14:42. |
| Latency or errors drifting, or an error budget burning | Model | The checkout error budget runs out in 3 days at this rate. |
| A traffic peak bigger than capacity | Model | Friday’s 18:00 forecast is 1.6 times what checkout-api can serve. |
| Queue lag, retry storms and failures spreading | Model | Payments lag is doubling every 4 minutes and refunds-api is retrying. |
| A bad canary during a rollout | Model | Canary p99 is 3.1 times the fleet’s after 6 minutes. |
| A known incident starting again | Both | 2 of the 4 steps of INC-2026-0814 have been seen. |
| A diff built on a wrong assumption | LLM | The commit assumes pgbouncer sits in front of ledger-pg, but it does not. |
| A migration that locks a busy table | LLM | ALTER TABLE orders runs without CONCURRENTLY during the peak. |
| A dependency upgrade with breaking changes | LLM | redis client 5.0 changes the default timeout to 1 second. |
| New error messages and deprecation notices | LLM | “The certificate for ledger-pg.internal expires in 6 days.” |
| Team signals, like muted alerts or repeated manual restarts | LLM | payments-worker was restarted by hand 5 times this week. |
Every warning is marked right or wrong.
Each warning ends as happened, acted on and prevented, or false alarm. Those grades retrain the models, and patterns that keep crying wolf are retired.
Each team gets a warning budget, two a week by default, and thresholds are tuned to stay inside it.
Last 90 days for the payments team
- Happened31
- Acted on and prevented14
- False alarm6
45 of 51 warnings were worth acting on. The median warning came 19 minutes before the page would have fired.
Sample data.
Useful before it has learned anything.
Trained models need history. Tail is useful straight away and gets sharper as your own outcomes come in.
Day 1
Detectors and a shared pattern library
Baselines, forecasts and failure patterns already seen in other teams’ systems are matched to how yours are connected.
Weeks 1 to 4
Your change history trains the risk model
You ship dozens of changes a day and have a few incidents a month, so change outcomes give the model enough labels within weeks.
Month 2 onwards
Your incidents tune the warnings
Imported history, staging rehearsals and every graded warning make the time-to-incident estimates specific to your systems.
See what Tail would have warned you about.
Connect your metrics, deploys and incident history, and we will replay last quarter with you: which incidents Tail would have caught, and how early.
Request access