Skip to content

What failed

Terminal window
orbee failures --since 12h # every active project under ORBEE_PARENT
orbee failures -p billing-dev -p billing-prd --since 24h
orbee failures --since 7d --service cloud_run --kind request # 5xx only
orbee failures --since 7d --service bigquery # failed or refused jobs
orbee failures -p billing-prd -o json # with a Logs Explorer link to each failure

Failures are read at the source, in Cloud Logging, at severity ERROR and above:

Product Kinds
Cloud Run services request (5xx, grouped per status), container (crash, memory limit, startup probe), application (grouped per error line)
Cloud Run jobs job_execution (grouped per execution)
BigQuery job: failed while running or refused when submitted, grouped per error and principal
Cloud Composer task (per task run and try), dag_import (broken DAGs), component (scheduler, triggerer)

--service, --kind and --workload narrow at the source, before the limit.

Access is checked first (testIamPermissions), then projects are read in batches. When one noisy service fills --limit, its project keeps its most recent entries and is reported as truncated, and the others are read again without it: one noisy service cannot hide the others.

A project Orbee cannot read is listed as unreachable, its failures unknown, and the command exits with 3. When no project can be read, it fails with 1.

Log entries are read newest first, up to --limit: on a noisy service, the entries read are a floor. Orbee also counts every 5xx a Cloud Run service answered from its run.googleapis.com/request_count metric in Cloud Monitoring, over the same window, in parallel with the logs:

5xx requests counted by Cloud Monitoring (Cloud Run request_count, request_latencies, container/instance_count)
┏━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━┓
┃ Where ┃ Status ┃ Requests ┃ Log entries read ┃
┡━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━┩
│ billing-prd │ 503 │ 18,532 │ 500 (cut) │
│ checkout │ │ │ │
└──────────────────────┴────────┴──────────┴──────────────────┘

In JSON, each request group carries requests (exact) beside entries (read), and server_errors gives the counts with their own source and window. Metrics are kept six weeks: a longer window is counted from there, and server_errors.since says so. A project without monitoring.timeSeries.list is listed as not counted, unknown rather than zero; the logs still answer.