RagdollNoone commented on issue #2656: URL: https://github.com/apache/brpc/issues/2656#issuecomment-2145399067
目前的话 starlight框架 我读了些源码后 有了一定的思路 就是通过spi机制 创建新的filter 在filter当中 修改request的attachmentkv这个map 填充第三方生成的traceid spanid parentspanid 但是brpc框架该怎么操作? cpp不太会… 然后还有一点比较难受得是 traceid等字段在元数据当中的定义成long类型的 但是一般第三方的id都是string 不知道有没有不改源码就能兼容的方式? ---- 回复的原邮件 ---- | 发件人 | Weibing ***@***.***> | | 发送日期 | 2024年06月03日 16:37 | | 收件人 | apache/brpc ***@***.***> | | 抄送人 | RagdollNoone ***@***.***>, Author ***@***.***> | | 主题 | Re: [apache/brpc] 如何在requestMeta当中设置 traceId, parentSpanId, spanId? (Issue #2656) | 这些变量应该是框架设置的,用户不需要设置。 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message 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