Modern systems produce far more telemetry than people can read. AI helps operations teams make sense of it: noticing unusual patterns, correlating signals across services, and explaining what probably went wrong. Applied carefully, it shortens the time from "something is wrong" to "we know why".
The pattern that works best keeps detection deterministic and uses AI for diagnosis and drafting. That keeps alerts predictable and auditable while still getting the benefit of AI's ability to reason over large amounts of data.
Detection: deterministic and tiered
Alert on SLO burn rates and statistical control bands rather than guessed thresholds. Bands based on a rolling baseline catch slow drift as well as sudden spikes. Define tiers in configuration: at the lowest level just log, at the next invoke AI read-only to diagnose, and at the highest allow pre-approved actions such as a rollback.
Diagnosis with AI
When an alert fires, an AI assistant can gather the relevant logs, metrics, traces and recent changes, and propose the most likely cause and next step. It can also summarise long incident channels for people joining late, and draft the timeline for the post-incident review.
Closing the loop
The most valuable step is turning findings into future work. A diagnosis can be written up as a short intent document for the fix, entering the normal planning and review process. Every incident that leads to a fix should also add a test or evaluation case, so the same failure can't recur silently.
Anomaly detection and noise
Machine-learned anomaly detection can surface unusual behaviour that fixed rules miss, but it can also add noise. Start with it in a "suggest" mode, measure how many anomalies were useful, and promote only the reliable detectors to paging.
Keeping humans in charge
On-call engineers triage findings: fix now, schedule, or dismiss. Dismissals tune the detectors. Runbooks the AI may trigger are approved in advance, and everything it does is logged. People decide; AI makes them faster and better informed.
AI on call in team channels
Incidents increasingly arrive through chat tools as well as alerts. An AI assistant that is a member of the incident channel can be the first responder: gathering evidence, proposing a cause and preparing a rollback for a person to approve. The channel becomes the audit trail, with the request, diagnosis, human authorisation and outcome all in one place.
Write the post-incident lessons to a version-controlled file that future investigations can read, so the system gets better with every incident.
How to put it into practice
- Define SLOs and burn-rate alerts for your critical services.
- Add control bands for one key metric, such as CI failure rate or post-deploy error rate.
- Let an AI assistant diagnose read-only when the band is breached.
- Have it write findings as short intent documents for triage.
- Allow only pre-approved, reversible actions such as rollback.
- Add every fixed incident to your tests or evaluation sets.
Common mistakes
- Letting the model decide what counts as an incident.
- Paging people on every anomaly the model finds.
- Giving monitoring agents write access to production by default.
- Diagnosing incidents without feeding the lessons back into code.
How to measure progress
- Time from alert to diagnosis.
- Share of AI diagnoses confirmed correct by responders.
- Pages per on-call shift and share that were actionable.
- Repeat incidents of the same class.