alibaba/Sentinel

Support recording error code as "error" for API gateway circuit breaking

Open

#1.842 aberto em 5 de nov. de 2020

Ver no GitHub
 (21 comments) (0 reactions) (0 assignees)Java (8.150 forks)batch import
area/gateway-flow-controlgood first issuekind/enhancement

Métricas do repositório

Stars
 (23.109 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 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 等状态码也记录为错误,这样就可以进行异常熔断降级了。

Guia do colaborador