Current Behavior
Enabel zipkin plugin.
Set sample_ratio to not equal to 1, for example, 0.1. APISIX will not send B3 header data downstream when a request does not require sampling.
Expected Behavior
Enabel zipkin plugin.
Set sample_ratio to not equal to 1, for example, 0.1. Even when a request does not require sampling, Apisix sends B3 header data downstream.
Error Logs
No response
Steps to Reproduce
ref: https://apisix.apache.org/docs/apisix/plugins/zipkin/
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):
Current Behavior
Enabel zipkin plugin.
Set
sample_ratioto not equal to 1, for example, 0.1. APISIX will not send B3 header data downstream when a request does not require sampling.Expected Behavior
Enabel zipkin plugin.
Set
sample_ratioto not equal to 1, for example, 0.1. Even when a request does not require sampling, Apisix sends B3 header data downstream.Error Logs
No response
Steps to Reproduce
ref: https://apisix.apache.org/docs/apisix/plugins/zipkin/
Environment
apisix version):uname -a):openresty -Vornginx -V):curl http://127.0.0.1:9090/v1/server_info):luarocks --version):