Skip to content

Incident handling and on-call

When Checkout breaks at 11:36,kanman is already reading merge #412.

kanman goes on call for the services your team runs. It opens the incident, tells the people on call, works out what changed and starts a fix that first reproduces the error in a test. Every step stays inside the limits you set per service.

Team plan and up

  1. Changemerge #412
  2. ErrorTypeError in export.ts:42
  3. AlertCheckout API, critical
  4. Verdictcode-caused
  5. FixSHOP-23, test first
  6. Recoveryalert resolved
The cause chain on every incident page: what changed, what broke, what kanman concluded and what it did about it.

One incident, start to finish

Theo is on call. kanman got there first.

Every finding lands in the incident’s thread in Slack or Microsoft Teams and on the incident page as soon as kanman has it.

  1. Change

    Merge #412 reaches main

    “Checkout export: stream rows instead of buffering” ships in checkout-service. CI is green, nothing looks wrong yet.

  2. Signal

    The Checkout API monitor fires

    Datadog reports the alert as critical, above the service’s threshold and inside kanman’s on-call hours. The incident opens, Theo is notified and #shop-incidents gets a thread.

  3. Finding

    It reads what changed

    Merges and deploys before the first alert, CI on main, the most frequent error in the logs and where it sits in the code: src/invoices/export.ts:42 in acme/checkout-service, a file merge #412 touched 22 minutes earlier.

  4. Action

    An expedite fix starts

    Checkout API is set to Start fixes, so story SHOP-23 starts at once. The run reproduces the TypeError in a regression test before it changes a line, then goes through CI and the independent review.

  5. Decision

    Theo merges

    The merge follows the team’s merge policy. kanman doesn’t deploy; the team’s pipeline does.

  6. Recovery

    The alert resolves

    23 minutes after it opened, kanman closes the incident with a summary and its timeline, drafts “Catch this earlier” as a follow-up story in Intake and lists the incident in the weekly report.

Alert to recovery in 23 minutes, with Theo deciding the merge.

Fig. 2How it ended: Checkout export fails resolved after 23 minutes, next to the team's earlier incidents.

“Cause not known yet” is a finding too.

When nothing explains the failure, kanman says so on the incident instead of guessing. A configuration or infrastructure problem goes to the person on call with kanman’s recommendation, because changes to production outside the code are always a person’s decision.

The signal reaches kanman, the noise doesn’t

Alerting tools are connected once for the workspace. Each team maps what belongs to its services.

Alerts from the tools you run

Prometheus Alertmanager, Grafana, Datadog, New Relic, PagerDuty, Opsgenie, Sentry, Amazon CloudWatch, Azure Monitor and Statuspage. Anything else sends the signed generic format.

Uptime checks from several regions

Tick up to five regions. A check counts as failed only when most of them fail, so a network problem in one region never pages anyone.

One problem, one incident

Alerts of the same service within 30 minutes join one incident. Below the severity threshold or outside on-call hours, kanman records the alert and opens nothing.

No storm on day one

The first read of a Checkmk site is a baseline: problems that already exist are remembered, not reported. Acknowledged problems and planned downtimes never open an incident.

Per service

You decide how far kanman goes

Each service has its own setting. A new service starts in the middle.

  1. Watch only

    kanman watches, investigates and reports. It never starts a fix, proposes a revert or touches the alert. A hard limit.

  2. Ask before fixing default

    For a code-caused incident kanman proposes the fix in Decisions and starts once someone approves.

  3. Start fixes

    The fix starts right away, regression test first, then CI and the independent review like any other story.

A revert pull request is never merged without a person, at any level.

What kanman may do in your alerting tools

Each action is Off, Ask first or Automatic per team, within the limit an owner or admin set for the workspace. With Ask first, the incident page shows what kanman would do with Approve and Decline. Every action, declined and failed ones too, goes into the audit log.

ActionSystemsStarts at
Acknowledge the alert when an incident opensPagerDuty, OpsgenieAsk first
Resolve the alert or issue when the incident closesPagerDuty, Opsgenie, SentryOff
Silence for four hours after a false alarmPrometheus Alertmanager, Grafana, DatadogOff
Page the people on call for a critical incidentPagerDuty, OpsgenieOff, at most Ask first
Post an “investigating” update customers seeStatuspageOff, at most Ask first

Across teams

When db-01 fails, three teams get one incident

The Platform team’s host alert, a ServiceNow ticket in Shop and a red pipeline in Web overlap in time and share a cause. kanman links them into a shared incident: the team whose incident came first leads, the others follow its findings instead of investigating the same thing twice.

  • Each team keeps its own incident, its rights and its decisions, with one shared timeline across all parts
  • Another team’s findings stay private unless that team shares its memory
  • When incidents keep coming from one root cause, kanman proposes the one fix that would have prevented them, as a suggestion nothing starts before someone accepts it
Fig. 3What goes down with db-01, from its data stores up to the Checkout customers use.

After recovery

A record that holds up in the review

Export evidence pack saves one file with the incident’s timeline, the evidence links, everything proposed and done in connected systems with who approved it and when, and the audit entries. Each entry is hash-chained to the one before, so a later change shows.

  • Use it as evidence for your own audit or as the base of a major incident report
  • The summary, timeline and follow-up stories are on the incident page once it resolves
  • Secrets of alert sources are stored encrypted and never shown again after saving
Fig. 4One incident: the summary, the cause chain from change to recovery and the evidence pack export.

Before you hand kanman the pager

Does kanman deploy or change production?

No. Fixes go through your merge policy and your pipeline deploys them. Configuration and infrastructure problems go to the person on call with a recommendation.

Can it read systems inside our network?

Yes. Choose through your runner when you connect a system such as a self-hosted Prometheus, Elastic or Checkmk. Your runner reads it and kanman’s cloud never connects to it. Kubernetes logs are always read by your runner.

How do we try it without waking anyone?

Set the service to Watch only and send a test alert from your tool. Within a minute the incident shows up in your chat with kanman, in the team status and in your channel.

Can we pause it?

Say “stop opening incidents from alerts for now” in the chat. kanman pauses the team’s alert sources and starts exactly those again when you resume.

Let kanman hold the pager tonight.

Connect your alerting and a repository, and the next incident starts with what changed.

Team plan, no card needed