Architecture intelligence

Architecture intelligence

Which design weaknesses keep causing incidents, and what to change first?

A synchronous call chain from web to tax with latencies and the risk priority factors

Open Reliability Intelligence → Architecture. The page goes beyond the dependency map: it looks for structural weaknesses, links them to the incidents they were part of, and recommends a change you can track until its effect is measured.

Note:Analysis is read-only and uses no AI model. It works from data you already send; nothing runs against your systems.

Where the model comes from

  • Traces: service-to-service calls are observed in spans. Databases, caches, queues and third parties are inferred from span names and labelled as inferred.
  • Service profiles: owner, team, criticality and whether a service is internet-facing.
  • Deployments (environments), SLOs, recovery objectives and restore tests, and resilience experiment results.
  • Dependency inventories (SBOMs): used to look for circuit-breaker and retry libraries in each service.
  • Incident history: the services each incident involved, from its postmortem and investigation.

Kubernetes resources, infrastructure-as-code, API contracts and regions are not read yet. The page lists them as needing configuration, and nothing is assumed about them — so, for example, single-region concentration is not assessed.

What it looks for

RiskWhen it is raised
Shared failure domainA database or cache used by two or more services.
Single point of failureA service called by three or more services, or a third party called by two or more.
Queue concentrationA queue that two or more services depend on.
Long synchronous chainFour or more services calling each other in a row, with the slowest calls added up.
Cyclic dependencyTwo services that call each other.
Excessive couplingA service calling five or more other services synchronously.
Fragile dependencyA call with at least 100 requests and 5% or more failing in the last 24 hours.
Retry amplificationThree or more outgoing calls per incoming request while the calls fail. A hypothesis.
Missing timeout or circuit breakerA slow or failing call from a critical, high or internet-facing service with no circuit-breaker library in its inventory. A hypothesis: protection may live in code or a service mesh.
Unclear ownershipA service with no owner or team that others depend on, or that is critical.

Observed or hypothesis

Every risk is one or the other. Observed means it shows in calls, errors or incidents — for example, past incidents that took several of a database’s callers down together. A hypothesis is a weakness the structure suggests that hasn’t been seen yet. Hypotheses rank lower and say what to confirm before planning work.

What each risk shows

  • The problem, the supporting evidence (the calls with their volume, errors and latency, and the linked incidents), and the services a failure would reach — every service that calls the component, directly or through others.
  • Customer impact: services affected, how many are internet-facing or critical, and the tickets in past incidents.
  • The recommendation, with its expected benefit, implementation complexity, implementation risk, suggested owner and how success will be verified.
  • Its priority from 0 to 100, with every factor shown: related incidents in 180 days, critical and customer-facing services affected, how far a failure would spread, recovery difficulty, effort and evidence confidence.

Tracking and evaluating an improvement

Choose Track as engineering work to create an action (it also appears under Prevention) with an owner, a due date and the verification criterion. The risk records a baseline at that moment.

When the action is completed, the improvement is evaluated against what happened afterwards: related incidents before and after, the error rate of the same calls, and any resilience experiment on the component that held. It needs 30 days of operation (or a passing experiment) before it can be called shown to work; otherwise it is marked didn’t improve. Completing the task alone doesn’t count.

Dismissing a risk needs a reason, such as “timeouts are enforced by the mesh”. A risk that is no longer detected is resolved automatically; it reopens if it comes back.

Service timeline

Reliability Intelligence → Service timeline (or click a service under Services at risk) shows one service’s releases, SLO and other findings, incidents and investigations, migrations, experiments, vulnerabilities, recovery tests, architecture risks and the work done about them, in time order, each linking to its source. Events close together are not presented as causes of each other.

Reliability metrics

The Overview has a Reliability metrics section: SLO coverage and attainment, time to detect and recover, migration, experiment, forecasting, vulnerability, recovery and prevention figures, each with its definition. A metric without enough data says why instead of showing zero, and no metric counts an incident as prevented because an alert or recommendation was raised.

API

  • GET /api/trial/:trialId/reliability/architecture/inventory and …/risks (filters: status, kind, service, evidence).
  • POST …/architecture/analyse (admin), …/risks/:id/decide, …/risks/:id/track (admin) and …/risks/:id/evaluate.
  • GET /api/trial/:trialId/reliability/timeline?service= and GET …/reliability/metrics.

An administrator can put the module in shadow mode (risks are shown, nothing is tracked or notified) or switch it off under Overview → Workspace settings. Analysis runs every six hours.