You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/10/24 03:02:39 UTC

[GitHub] [apisix] membphis commented on issue #2470: [discuss]: Distribute traffic in percentage between similar routes

membphis commented on issue #2470:
URL: https://github.com/apache/apisix/issues/2470#issuecomment-715663101


   https://github.com/apache/apisix/blob/master/doc/admin-api.md#route
   
   we can use `vars` to implement this feature. just need a random number, eg: `["random_100", ">=", 30]`, it means 70%.


----------------------------------------------------------------
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:
users@infra.apache.org