Building Investigations: what it takes to build an AI SRE
Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model.
Building a reliable AI SRE took incident.io two years, far longer than the first promising prototype suggested, and the hard work sat in four areas around the model.
incident.io measures On-call reliability with two customer-centric SLIs, alert ingestion availability and notification delivery latency under 5 minutes, both targeted at 99.99% monthly.
A 99.99% availability target leaves only about 4 minutes 23 seconds of downtime per month, and even an idealised 3am page-wake-runbook-failover sequence exceeds it, so four nines can't depend on a human in the critical path.
The October 20, 2025 AWS us-east-1 outage degraded incident.io through third-party dependencies even though it runs on Google Cloud: its transcription, SAML, telecom and status page providers were all affected.
On 28 August 2023, a valid ADEXP flight plan containing duplicate waypoint codes (DVL for Deauville and Devil's Lake) hit a rare six-condition edge case in NATS's FPRSA-R conversion system.
incident.io dogfoods its own paging product and covers the case where its alerting platform itself fails with a dead man's switch.
incident.io assigns error ownership inside its monolith by dividing the codebase into team-owned units (apps, backend feature packages, integrations), each with a required jsonnet module file declaring owner, criticality and customer-facing features.
Distributed tracing with OpenTelemetry lets incident.io engineers spot bugs before customers report them, by showing each request's route as a tree of timed spans that exposes slow steps, N+1 queries and duplicate calls.
incident.io runs data quality tests with dbt's native testing and tackled two problems: flaky relationship tests and slow debugging of failures.
incident.io structures observability for its on-call product as a consistent drill-down path.
incident.io's 2024 data stack runs Fivetran and Segment into BigQuery, dbt (run via Docker on CircleCI) for transforms, and Hightouch for reverse ETL.
Delivering on-call notifications via SMS and phone calls means routing through a telecom API provider and its carrier partners, where status signals are often unreliable.
incident.io built a related-incidents feature by embedding a plain-text representation of each incident with OpenAI's text-embedding-ada-002 and ranking matches by cosine similarity.
After migrating to Google Cloud, sporadic Postgres and memcached connection timeouts on GKE turned out to be node-wide, not process-local.
incident.io's product team populated its own Catalog with features, integrations and teams to replace messy, hand-curated incident Custom Fields.
Intermittent API timeouts at incident.io over two weeks traced back to requests blocking on Go's database/sql client-side connection pool, with no single slow query or pool to blame.
A poison-pill Pub/Sub message crashed incident.io's Go monolith on Heroku repeatedly, causing 13 minutes of downtime over 32 minutes.
A system's availability is capped by the combined availability of its critical dependencies, which per "The Calculus of Service Availability" need roughly an order of magnitude more nines than the service itself.
incident.io launched a public API focused on three use cases: creating incidents automatically from other systems, exporting incidents and their actions and follow-ups to BI tools, and configuring roles, severities and custom fields from external sources such as Terraform.
incident.io pages on every Sentry error, and cut the resulting noise with four quick changes instead of switching to error-rate alerting.
HTTP header names arriving downcased at a public API were wrongly blamed on a Google Cloud Load Balancer change.
Postgres sequences pre-log 32 values to the WAL (SEQ_LOG_VALS), so replicas see sequence state as it would be after a primary crash.