Skip to content

Alert: LastVetAPIErrors

Symptom

Elevated JSON error-level log rate from lastvet-api audit tier (>10 errors in 5 minutes).

Immediate action

ssh lastvet-api 'journalctl -u lastvet-api-prod -u lastvet-api-staging --since "10 min ago" | grep '"'"'"level":"error"'"'"' | tail -20'

Diagnosis

  1. Correlate with deploy time and staging vs prod labels.
  2. Check downstream Postgres/MinIO health.
  3. Distinguish client errors (4xx) from server failures in log bodies.

Escalation

Ryan if prod error rate sustained and user-facing.

Resolution history

Date Notes