wxz1211 opened a new issue, #9824: URL: https://github.com/apache/apisix/issues/9824
### Description 我们准备使用traffic_split来做灰度发布时,先说下我们的方案: 1、我们使用的微服务中间件是:nacos、(生产、灰度使用的nacos是同一套),注册服务的时候我们会将对应的nacos实例设置为灰度or生产. 2、生产与灰度用的**同一个路由**,生产环境和灰度环境使用**不同的上游**(对上游部分的lua代码及dashboard进行了改动,给上游加了一个属性(生产or灰度),根据该属性,去找对应的nacos实例.比如属性值为灰度,具体逻辑:找不到对应的灰度的nacos实例的话,就会去找生产的实例) 我在进行了这样的改动以后:遇到了一个问题: 当请求到达具体的nacos服务后,我无法得知该请求是来自生产环境还是灰度环境. 期望:nacos服务实例可以在请求头里获取到该请求是否是灰度流量 ### Environment - APISIX version (run `apisix version`): - Operating system (run `uname -a`): - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): - etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): - APISIX Dashboard version, if relevant: - Plugin runner version, for issues related to plugin runners: - LuaRocks version, for installation issues (run `luarocks --version`): -- 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]
