Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

incident.io 9 min read Case study mediumAdept

We used GPT-4 during a hackathon—here's what we learned

A two-day hackathon at incident.io prototyped GPT-3.5/GPT-4 features: incident handover summaries generated from full Slack channels, a reply-with-❓ jargon explainer, and natural-language incident filters. The team dropped all of them for the same reasons. Responses took 20-30 seconds, and the 4,096-token context limit covers prompt plus response, so only about 35% of a Slack channel fit. Filters needed huge name-to-ID mappings, and chunked 'summarize the summaries' workarounds would multiply latency. The other lessons were that prompt engineering is brittle, data-privacy controls would be needed before shipping, and latency and context size are the things to watch before revisiting.

Assumes: OpenAI API basics

Related posts

  • Optimizing LLM prompts for low latency

    incident.io mediumAdept

    incident.io cut latency of an LLM prompt that plans Grafana dashboards for incident investigations from 11s to under 2.3s without changing its behaviour, mainly by shrinking output tokens. Dropping JSON reasoning fields halved output tokens (315 to 170) and saved about 40% latency. Replacing JSON dashboard definitions with a compact custom format cut input from 15k to 2k tokens but saved only about 20%. A terse non-JSON output format cut output tokens by a further 70% and latency by 60%, though the team held back from shipping it because models are more familiar with JSON and quality could suffer in subtle ways.

  • Lessons learned from building our first AI product

    incident.io mediumAdept

    incident.io built suggested incident summaries with OpenAI: each time a responder posts an update, GPT proposes a new summary from the update, the Slack conversation and the previous summary, and a human accepts, edits or rejects it. Half of all summary updates are now AI-written. Suggestions are actioned 20% of the time; of those, 63% are accepted, 26% edited and 11% rejected, which is too little conviction to auto-apply summaries. Practical lessons: build a CLI to run prompts against real incident fixture files, force structured output with JSON mode (problem, impact, causes, steps to resolve), give one person uninterrupted time for trial-and-error prompt work, roll out to 10% of customers first, and involve legal early because adding OpenAI as a sub-processor needs customer notice. A shared prompt interface and a single RunPrompt entry point let later AI features reuse the same plumbing.

  • How we optimized LLM use for cost, quality, and safety to facilitate writing postmortems

    Datadog Engineering mediumAdept

    Datadog's Bits AI drafts incident postmortems by feeding structured Incident Management metadata and scrubbed Slack discussions into a mix of GPT-3.5 and GPT-4 models, one query per template section. Generating sections in parallel cut draft time from over 12 minutes to under one minute, but the sections overlapped, so follow-up LLM passes remove repetition and restructure the text. Assigning models per section kept costs down, and lower temperature and frequency penalty helped reduce hallucinations and repetition. Quality was judged mainly through author surveys on accuracy, conciseness, coherence, coverage and objectivity, since ROUGE/BLEU proved of limited use; secrets are swapped for placeholders before the model sees them, and claims cite source Slack messages.

  • Break chatbot speed limits with speculative tool calls

    incident.io mediumAdept

    incident.io cut its incident chatbot's response latency by about 50% (saving 2-3s per interaction) by speculatively executing LLM tool calls in both directions. Tools are started in parallel with the main chat prompt when simple keyword matching suggests they will be needed, and the follow-up chat prompt is run optimistically by assuming the tool succeeded, then re-run on error. Side effects are prevented with a Go write barrier: speculative tools do all their LLM 'thinking' but block before writing until the main prompt confirms the call, otherwise the context is cancelled. The tradeoff is occasional wasted LLM spend, which effectively lets the team buy speed with money.

  • Dead Ends or Data Goldmines? Investment Insights from Two Years of AI-Powered Postmortem Analysis

    Zalando Engineering mediumAdept

    Zalando built a multi-stage LLM pipeline (summarization, classification, analyzer digests, cross-incident patterns, investment opportunities) to mine thousands of postmortems for recurring failure patterns in its datastores: Postgres, DynamoDB, ElastiCache, S3 and Elasticsearch. They chose chained single-purpose prompts in a map-fold pattern over large-context models to avoid "lost in the middle" effects, cost and latency. Strict no-inference prompts and negative examples counter hallucinations and surface attribution errors. NotebookLM alone gave roughly a 3x speedup but hallucinated and lost context, and human curation at each stage remains essential for trust and accuracy.

The quest for software engineering knowledge.

Look:
Layout: