shuqingzai commented on issue #7239:
URL: https://github.com/apache/apisix/issues/7239#issuecomment-1153475198

   > > 2. 我想在 opentelemetry 的 additional_attributes 追加 request-id 
属性,但是我试了很多种读取的方式,好像都不能读取,以下是我的配置,请问有啥方式可以读取?
   > 
   > `opentelemetry` and `request-id` both work on `rewrite` phase in APISIX, 
but `opentelemetry` has a higher priority and is executed before the 
`request-id`, so it can't get the id generated by `request-id`.
   > 
   > maybe we can raise the priority of `request-id`? what is your option? cc 
@spacewander @membphis
   
   我觉得 request-id 应该是级别最高的吧?无论请求是否成功响应,都应该记录一个 request-id 方便排查问题?


-- 
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: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to