A machine that must ask before it acts.
IntelliOps watches services, turns a storm of alerts into one incident, proposes the cause and the fix, and waits for a person. It claims recovery only when recovery was measured.
Telemetry comes in two ways
The ingestion service polls Prometheus, and accepts events pushed to POST /ingest. A batch with one malformed event is refused as a whole.
Each series is judged against itself
A sample is anomalous when it leaves that series' own recent range. The default is an online z-score; a seasonal detector and an isolation forest can be switched on.
Eighteen alerts become one incident
Anomalies inside a 30 second window are grouped. The incident carries a signature of the series involved, so the same trouble is recognised next time.
Rules propose, embeddings rank
Written rules name the candidate causes and runbooks, and sentence embeddings order them. A language model may explain the result in plain words. It cannot change the choice.
Checks come before the question
The runbook must be enabled and reversible, the caller permitted, and every parameter inside safe bounds. If switched on, the fix is first rehearsed on a copy in a throwaway namespace.
Then it waits for a person
The incident stays at the gate until someone approves or rejects it. If nobody answers, nothing runs. In token mode, the approval is bound to the person's own token.
The one exception is earned: a fix with a strong record of real runs on this exact trouble can be handled quietly, and is audited like any other.
Only seven things can happen
Restart, scale, roll back a deploy, roll back to a revision, change resource limits, change a probe, or wait. The list is closed in the code: neither a person nor a model can add to it.
Recovery has to be measured
The metrics that fired are read again. If they have not recovered, the runbook's rollback steps run. With no real health check, the console says "not verified".
Everything is written down, and trust is earned
Each decision goes to an audit log. After three successful real runs with no failure or rollback, a runbook may run on its own. A failure takes that away again.
Rebuilt in Rust, and measured both ways
The platform was first written in Python. Both versions were measured on the same machine, twice each.
| Measure | Python | Rust |
|---|---|---|
| Idle memory, seven services | 486 to 507 MiB | 111 MiB |
| Most service images | 495 MiB | 42 to 54 MiB |
| Events accepted per second | 1,763 to 2,617 | 18,282 to 20,000 |
| Slowest 1% of ingest requests | 156 to 234 ms | 31 to 32 ms |
Part of the throughput gain comes from batching, which Python could also have done. Start-up time and end-to-end incident time did not meaningfully change.
View the repositoryHow it was measured and rebuiltWhat stops a bad fix