What happened to a service
orbee incident -p my-project --workload checkout --since 7dorbee incident -p my-project --workload checkout --since 7d --at 2026-11-27T22:30orbee incident -p my-project --since 3d --related net-host-projectOne call answers “what happened to checkout?”: what failed, what changed just before, who can reach the service.
Episodes
Section titled “Episodes”The failures of the project, or of one workload, are split into episodes: more than 30 minutes
without an error starts a new one. A service that failed on Monday and again on Thursday has two
episodes, each with its own explanation. Every episode carries its best lead; the latest one (or
the one at --at) is detailed with a timeline.
Every change around the start of an episode becomes a lead, one per resource, ranked by a rule anyone can check:
| Strength | Rule |
|---|---|
| strong | changes the failing workload, at most 15 minutes before the first failure |
| possible | changes it earlier, changes another workload of the project just before (a dependency), or changes access, a secret, the network, a database or an API |
| excluded | after the first failure: it cannot have started it (it may be the fix, or a rollback) |
| unlikely | any other change of the project before the first failure |
A lead is a hypothesis to check, never a cause. Each one links to its audit log entry, and the failures link to theirs.
Where changes are read
Section titled “Where changes are read”Besides the project, Orbee reads the changes of the folders and organization above it (an
organization IAM binding, a policy) and of the projects passed with --related: a Shared VPC host,
a project of shared secrets or databases. A change there is possible when it is cross-cutting,
unlikely otherwise. The answer lists where it read, and what it did not check: other projects,
CPU and memory.
Metrics around the start
Section titled “Metrics around the start”For the Cloud Run services failing in the episode (the three with the most errors), Orbee reads
their metrics in Cloud Monitoring from --lookback before the start to --lookback after, one-minute
steps, in parallel with the changes:
Metrics checkout (Cloud Monitoring (...), 1 min steps, 2026-11-27 21:30:00 → 2026-11-27 23:30:00 UTC) before the start 118.4 req/min · 0 5xx · p95 92 ms · 3 instances max after the start 96.7 req/min · 4,210 5xx · p95 3,120 ms · 12 instances max 5xx started 2026-11-27 22:24:00 UTC per the metrics, 6 min before the first failure logged- before / after: requests per minute, 5xx, the worst p95 latency and the most instances, on each side of the first failure logged;
- 5xx started: when the 5xx began per the metrics. It is earlier than the first failure logged
when the logs were cut, or when the first errors were not logged at
ERROR. On an uncertain start, the metrics are read from the window’s first failure, coarser steps beyond six hours, andfailing_from_first_stepsays the 5xx began before the steps read.
Metrics are context, like access: a service whose metrics cannot be read is reported under
not_checked, and the rest of the answer stands. They need monitoring.timeSeries.list, part of
the Orbee Reader role.
When the start is uncertain
Section titled “When the start is uncertain”Failures are read newest first, so a noisy outage fills the read limit with its last hours. Orbee then reads further back, up to four more times, until a quiet period of 30 minutes shows before the episode: its start is then known, even on a busy project.
When the outage is longer than that, the answer says start_uncertain (on the answer and on the
oldest episode), and reads the changes from the start of the window instead of the visible start.
One more read, oldest first, bounds the start: start_between the first failure of the window and
the visible start. When that first failure is at the very start of the window
(failing_at_window_start), the outage may be older than the window: widen --since. Otherwise,
narrow --since or --workload to find the real start.
Exit code
Section titled “Exit code”3 when failures or changes were cut, or a source could not be read: the answer is partial.