You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug when i open the opentelemetry plugin in the route, the trace_id doesn't equal x-request-id but traceparent.
I find the code in apisix/plugins/opentelemetry.lua,
local upstream_context = trace_context_propagator:extract(context, ngx.req)
In the OpenResty , the ngx.req is only read,so I can not change the header of req.
So what can i do to ignore the traceparent in the request header?
Environment
APISIX version (run apisix version): 3.9.0
Operating system (run uname -a): Linux eb-apisix-deploy-79c5f88c84-5r8v7 4.15.0-212-generic apisix 脚本stop、reload 也需要增加 -c 参数指定 nginx.conf 路径 #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
OpenResty / Nginx version (run openresty -V or nginx -V): openresty/1.25.3.1
etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):3.5.0
The text was updated successfully, but these errors were encountered:
Description
I want to create a root span by x-request-id.
my config is :
bug when i open the opentelemetry plugin in the route, the trace_id doesn't equal x-request-id but traceparent.
I find the code in apisix/plugins/opentelemetry.lua,
In the OpenResty , the ngx.req is only read,so I can not change the header of req.
So what can i do to ignore the traceparent in the request header?
Environment
apisix version
): 3.9.0uname -a
): Linux eb-apisix-deploy-79c5f88c84-5r8v7 4.15.0-212-generic apisix 脚本stop、reload 也需要增加 -c 参数指定 nginx.conf 路径 #223-Ubuntu SMP Tue May 23 13:09:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linuxopenresty -V
ornginx -V
): openresty/1.25.3.1curl http://127.0.0.1:9090/v1/server_info
):3.5.0The text was updated successfully, but these errors were encountered: