DexaflowAPIErrorRatioHigh
What DexaflowAPIErrorRatioHigh means and what to do when it fires.
Symptom. More than thresholds.apiErrorRatio (1%) of API requests were
answered with a 5xx for 10 minutes.
Impact. The UI, the CLI and API clients fail; deploys and triggers may not land.
First commands.
sum by (path, status) (rate(dexaflow_http_requests_total{status=~"5.."}[5m]))
kubectl -n <namespace> logs deploy/<release> -c leoflow-server --tail=500 | jq 'select(.status >= 500) | {path, status, cause}'
Decide.
- One path dominates: read its
causefield; a database error points at DexaflowDatabasePoolCanceledAcquires, a Redis error at DexaflowRedisCommandFailures. - 503 on every path while pods restart: see Ingress errors while no server pod is ready.