Covers OrbitServiceOrbitQueryApdexSLOViolation, OrbitServiceOrbitQueryErrorSLOViolation, OrbitServiceOrbitQueryTrafficCessation, OrbitServiceOrbitQueryTrafficAbsent, OrbitQueryLatencyDegraded.
Orbit queries fail or are slow, or the query metrics stopped. Users see errors or slow responses from the Orbit API.
Check
On Dedicated, only the Dedicated EOC runs commands. Use gkg-webserver and no --context.
-
Run a real query. Healthy:
statussayshealthyand the query returns one project in less than 5 seconds.GITLAB_HOST=gitlab.com glab orbit status GITLAB_HOST=gitlab.com glab orbit query 'MATCH (p:Project) WHERE p.id = 77960826 RETURN p.id, p.full_path LIMIT 1' -
Check the pods. Healthy: all pods are
Running, READY is full and RESTARTS does not increase.kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg get pods | grep orbit-webserver -
Open the webserver dashboard. Healthy: p95 is below 5 seconds and there are no server errors.
-
Look for a recent deploy. Healthy: the newest ReplicaSet is older than the alert.
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg get rs --sort-by=.metadata.creationTimestamp | grep orbit-webserver | tail -1
Act
| You see | Do this | Done when |
|---|---|---|
| Started with a deploy | Roll back. | The query in step 1 works. |
All query types slow, or errors with TIMEOUT_EXCEEDED |
The graph ClickHouse is overloaded. High indexer writes: stop one indexer pool. Else page Orbit tier-2. | p95 is below 5 seconds. |
Errors with status="timeout" |
The query passed the stream timeout. Page Orbit tier-2. | No timeout errors. |
| One query type slow | One caller sends heavy queries. Find it in the logs, filter json.resource.labels.container_name: orbit-webserver. Page Orbit tier-2. |
p95 is below 5 seconds. |
Webserver pods show OOMKilled |
Follow OrbitContainerOOMKilled. | RESTARTS does not increase. |
TrafficAbsent, but the query in step 1 works |
Users are not affected. Post in #f_orbit_dev. |
Orbit tier-2 has the issue. |
Escalate
All queries fail: declare an incident (first 5 minutes) and page Orbit tier-2 in incident.io (escalation).
Dedicated: the EOC runs /inc escalate and selects Orbit.