Runbook: the gateway is unhealthy

  1. Check the gateway's own health endpoint per region. A single unhealthy region is a routing problem;
    all regions unhealthy is almost always the identity service or its database.
  2. Look at the token introspection latency graph. If it has climbed above 50 ms the cache is cold —
    usually because a key rotation invalidated everything at once.
  3. If the identity database is the cause, fail over to the replica. The runbook for that is in the
    infrastructure repository; it takes about ninety seconds and drops in-flight writes.
  4. If the event bus is lagging, the gateway will shed load by design. Do not disable the back-pressure
    signal to make the graph look better.
  5. Write what you did in the incident issue while you are doing it, not afterwards.