Covers OrbitServiceGkgDispatcherErrorSLOViolation, OrbitServiceGkgDispatcherTrafficCessation, OrbitServiceGkgDispatcherTrafficAbsent, OrbitDispatchTaskStopped.
The dispatcher does not send indexing jobs, or its tasks fail. Users see old data in Orbit results. Queries continue to work.
Check
On Dedicated, only the Dedicated EOC runs commands. Use gkg-dispatcher and no --context.
-
Check the pod. Healthy: READY is
1/1and RESTARTS does not increase.kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg get pods | grep orbit-dispatcher -
Check the task runs in Grafana Explore, data source
mimir-analytics-eventsdot. Healthy: each task hassuccessruns.sum by (task, outcome) (increase(gkg_scheduler_task_runs_total{env="orbit-prd"}[30m])) -
Read the logs with the filter
json.resource.labels.container_name: orbit-dispatcher. Healthy: notask failedorcadence lock check failedlines. -
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-dispatcher | tail -1
Act
| You see | Do this | Done when |
|---|---|---|
A deploy a few minutes ago, the pod is 1/1 |
No action. The pod restarts on each deploy, so a short gap is expected. | Task runs show success again. |
| Started with a deploy and does not recover | Roll back. | Task runs show success. |
Pod is 1/1, but no task runs or cadence lock check failed |
Restart the dispatcher with the commands below. | READY is 1/1 and task runs show success. |
| Pod is not ready after a deploy, logs show a schema migration | Wait for the migration to end. Still not ready: page Orbit tier-2. | READY is 1/1. |
task failed names the datalake or Siphon |
Check the Siphon dashboard. Siphon problem: ask in #g_analytics_platform_insights. |
Task runs show success. |
task failed names NATS, a stream or a KV bucket |
Follow NATS alerts. Do not delete streams or KV buckets. | Task runs show success. |
Pod restarts with OOMKilled |
Follow OrbitContainerOOMKilled. | RESTARTS does not increase. |
Restart the dispatcher:
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg rollout restart deploy/orbit-dispatcher
kubectl --context gke_gl-orbit-prd_us-east1_orbit-prd -n gkg rollout status deploy/orbit-dispatcherEscalate
No cause after 15 minutes: page Orbit tier-2 in incident.io (escalation).
Dedicated: the EOC runs /inc escalate and selects Orbit.