simplechen opened a new issue, #4310:
URL: https://github.com/apache/shenyu/issues/4310
### Question
新功能
在网关上面新加一个调试模式,在开启状态时,客户端通过http协议的header['debug']=true,网关定义一个接口在每个plugin中实现这个接口完成debug信息的回写,最后网关返回的报文中追加一个和code同级的属性
trace:{}
把经过的plugin的调试信息输出给客户端调用方,这样调用方可以通过调试信息判断自己定义的PLUGIN及规则是否正确,不用通过传统的日志方式去定位问题,减少一次转场,可以调效开发,此功能想法来自于APIJSON开源项目的调试模式
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]