wwbmmm commented on issue #2656: URL: https://github.com/apache/brpc/issues/2656#issuecomment-2157374309
brpc并没有暴露给用户修改RequestMeta中的traceid/spanid/parentspanid的方法,而且如你所说,brpc std协议中定义的这几个id都是long型,可能不能满足需求。 但也可以考虑通过其它字段来传递这几个id。比如std协议在这个PR https://github.com/apache/brpc/pull/2406 之后提供了自定义扩展字段,用户可以通过这种方式来传递这些id。或者使用其它协议比如http协议,用户可以通过请求的header来设置这些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: dev-unsubscr...@brpc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org For additional commands, e-mail: dev-h...@brpc.apache.org