Support recording error code as "error" for API gateway circuit breaking
Open
area/gateway-flow-control
good first issue
kind/enhancement
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Issue Description
Type: *feature request*
### Describe what happened (or what feature you want)
gateway flow limit by error code instead of Throwable exception
对于 API gateway 目前不支持针对 4xx、5xx 等状态码记为错误(仅针对抛出异常记录错误)。希望可以针对 5xx 等状态码也记录为错误,这样就可以进行异常熔断降级了。
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing the API gateway flow-limiting and circuit-breaking path, then determine how 4xx and 5xx status codes should be classified as errors and verify that those responses can trigger degradation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend, distributed-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100