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.