tokers commented on a change in pull request #2516:
URL: https://github.com/apache/apisix/pull/2516#discussion_r511740468
##########
File path: apisix/plugins/fault-injection.lua
##########
@@ -28,13 +30,15 @@ local schema = {
properties = {
http_status = {type = "integer", minimum = 200},
body = {type = "string", minLength = 0},
+ percentage = {type = "integer", minimum = 0, maximum = 100}
Review comment:
Actually the percentage is inspired from Istio. I think the purpose of
fault injection is to observe whether the whole request link is still normal
when some parts of them don't work so perfectly,which may need the randomness
to mimic the production, instead of the deliberate order from administrator.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]