Skip to content

v1.2.0

Choose a tag to compare

@engel75 engel75 released this 15 Apr 15:55
· 21 commits to main since this release
eca61b8

Eiroute v1.2.0

New Features

Backend Status in Error Logs
All error logs now include backend status information when a backend is involved:

  • backend - Backend name
  • backend_url - Backend URL
  • backend_healthy - Current health status
  • semaphore_used - Current semaphore usage
  • semaphore_capacity - Max semaphore capacity

Bug Fixes

Error Key Corrections

  • Upstream 429 → backend_overloaded (correct error key)
  • Eiroute semaphore overload → rate_limited (correct error key)
  • Error messages properly assigned to each key

Example Log Output

{"level":"WARN","msg":"request error","request_id":"...","error_key":"rate_limited","http_status":429,"backend":"minimax","backend_url":"http://...","backend_healthy":true,"semaphore_used":10,"semaphore_capacity":10}