Incidents & analysis

Postmortems

How a postmortem draft is generated, edited, and published once an incident is resolved.

In the app: Postmortems

A postmortem is the document you write after an incident is resolved. Its purpose is to capture what happened, who was hurt, and how the team will keep it from happening again, without assigning blame. UptimeWarden's postmortem lives next to the incident itself: same page, same timeline, same data, just one extra tab once the dust has settled.

Plan availability

Postmortem drafts are included on every plan, with a monthly allowance. Automatic and manual drafts count together:

PlanDrafts per month
Free1
Hobby1
Starter3
ProfessionalNo monthly count
EnterpriseUnlimited

The month is your AI credit month: it starts on your subscription's monthly anniversary, or on the first day of the calendar month (UTC) if you have no subscription, so drafts and AI credits come back on the same day. Automatic drafts do not use your AI credits; drafts you generate or regenerate by hand do. One incident is one report: refreshing its AI draft does not count twice in the same month, although it still costs AI credits. The Postmortems page and the Postmortem tab show how many drafts are left this month.

Read-on-downgrade policy: the postmortems you already have remain readable, editable, and publishable after a downgrade; only new drafts count against the new plan.

Cascade-suppressed incidents do not generate postmortems.

The flow at a glance

sequenceDiagram
    participant Inc as Incident
    participant System as UptimeWarden
    participant UI as Dashboard
    participant Author as Editor+
    Inc->>System: status → resolved
    System->>System: AI prefill draft
    System-->>UI: Postmortem tab visible
    Author->>UI: Edit draft
    Author->>UI: Click Publish
    UI->>Inc: postmortem status='published'

Four steps:

  1. Resolve, when the incident reaches resolved, UptimeWarden automatically requests a postmortem draft. Our AI engine drafts the prefill and saves it as a draft on the incident.
  2. Regenerate (optional), an editor or admin confirms Regenerate on the Postmortem tab to refresh the AI revision of the same report. See What happens when you regenerate.
  3. Edit, the author refines the report on the same tab. The last saved edit is displayed in place of the AI text.
  4. Publish, clicking Publish flips the postmortem from draft to published, and records who published it and when.

When automatic generation is triggered

You don't have to do anything to get the first draft. The moment an incident is resolved, UptimeWarden requests the draft itself:

  • However the incident is resolved (for eligible incident types), a draft is requested: whether the monitor recovers on its own and the incident auto-closes, or an editor marks it resolved by hand.
  • It runs in the background. The draft appears on the Postmortem tab seconds after resolution; it never slows down your resolve flow. If the tab is open, the draft shows up on its own the moment it is ready, no manual refresh needed.
  • It's separate from notifications. The recovery notification (email, Slack, webhook, etc.) and the postmortem draft don't wait for each other; both proceed on their own path right after resolution.
  • It has a few conditions. An automatic draft is written only when the incident lasted five minutes or more, the incident is an outage (down), slow-response or flapping incident, the incident's owner has turned on AI processing in their profile, this month's drafts are not used up, and the feature is on. No automatic draft is written for SSL, domain or security incidents. There is also a daily cap: at most 3 automatic drafts per monitor and 10 per account. If one of these is not met, no automatic draft is written. You can create one later with Generate; that also needs AI processing to be on and counts against the same monthly allowance.
  • Suppressed incidents are excluded. No automatic draft is generated for incidents suppressed by Cascade Suppression.

Automatic generation runs once per incident. If the same incident is resolved, reopened, and resolved again, the existing postmortem is left exactly as it is, including any edits you have made in the meantime. A repeated automatic request never replaces an existing report.

What happens when you regenerate

Regenerate asks for confirmation before spending AI credits. Cancel to leave the report unchanged. Confirm to refresh its AI draft and evidence, not to replace the editor's work.

  • Saved edits stay visible, including edits saved while generation runs. The evidence trail describes the latest AI draft, not the editor's account.
  • Publication and sharing do not change. A draft stays a draft; a published report stays published. Its link and expiry stay the same. If nobody has edited a published report, readers will see the refreshed AI text.
  • Queued does not mean finished. The version number increases only when the new AI revision is saved. The tab waits for that revision; if waiting times out, refresh before spending credits on another attempt.

There is no cooling-off period between two presses. Treat the button as a deliberate action: regenerate when the incident data has genuinely changed, for example after a late timeline entry or a corrected resolution time, rather than as a way to reroll the wording.

What gets prefilled automatically

The AI draft populates these fields:

  • Summary: a short paragraph describing what happened
  • Timeline: detection, acknowledgement, escalations, mitigation attempts, resolution, plus any custom entries
  • Root cause analysis: the most likely cause based on the incident data
  • Impact assessment: duration, monitors affected, severity, estimated downtime, customer impact, and SLO budget burned
  • Contributing factors: things that made the incident worse or harder to detect
  • Action items: concrete follow-ups with owner, priority, and status
  • Evidence references: links back to monitor results, correlated incidents, and recommendations

The author writes only what a machine can't infer: what happened in human terms.

Evidence trail: every claim shows its source

Causal claims in the AI draft don't stand as unsourced narrative. An evidence trail is generated with the draft: each claim is linked to the timeline entries, the check results and, if you connected one, the telemetry evidence it was drawn from. The Evidence section on the Postmortem tab lists every claim with its citations. Clicking a citation opens the evidence it rests on: its type, its text as it was given to the model, and the short quote the model took from it.

The honesty rule: when the model could not cite a source for a claim, the claim is not hidden, it is marked "uncited". A citation of evidence that was never given to the model is removed from the draft too, and the claim stays uncited. Verify uncited claims yourself before relying on the analysis.

If your account has a telemetry source connected (a Prometheus-compatible store or OpenTelemetry), metric summaries from the incident and from the period just before it join the evidence pool as well; with an OpenTelemetry source, so do the failing requests, with their error messages and the error rate. Details: Telemetry Sources.

Action items

Action items live as structured fields inside the postmortem document. Each item has:

  • A unique ID
  • The text of the action
  • An owner (optional but recommended)
  • A priority (low / medium / high)
  • A status (open / done)

Each item is edited from the Postmortem editor. There is no standalone action-item API.

Audit trail

Every postmortem action is recorded in the audit log: when it was viewed, generated, edited, and published, and by whom. See Audit Log Retention.

Blameless approach

Write the postmortem to fix systems, not to blame people. Replace any "X should have…" with "the system should have prevented X from being able to…". This is how you stop the same outage from happening to a different person next quarter.

Anti-patterns to avoid

  • Writing the postmortem during the incident. Resolve first, document second.
  • Naming individuals as the root cause. A symptom and a cause are different things.
  • Action items with no owner. If nobody volunteers, the on-call who closed the incident owns it by default.
  • Skipping "what went well." If you only document failures, you erode the practices that already work.

Bu sayfayı Türkçe okuyun