Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] 同一服务的入-出请求增加关联减少断线空行 #300

Closed
taloric opened this issue Oct 30, 2024 · 0 comments · Fixed by #301
Closed

[FR] 同一服务的入-出请求增加关联减少断线空行 #300

taloric opened this issue Oct 30, 2024 · 0 comments · Fixed by #301
Assignees

Comments

@taloric
Copy link
Contributor

taloric commented Oct 30, 2024

基于 issue#8378 的评论:comment#2443765811
有一个如下场景:

graph LR
client --> ingress --> gateway --> business
Loading

其中,ingress 默认开启了 x_request_id 能力,在 gateway 里透传,且,gateway 中开启了插桩,关联上后端服务以及 gateway 本身的 Client Process Span;

问题:由于 gateway 的 S-p 接到请求后通过进程池模型转发到后端,所以 gateway s-p / c-p 无法关联,使得如 comment#2443765811 所示,在 gateway 内产生空行。

期望:不要产生空行, 使得 gateway 内部可互相关联起来。

修改方案:1. 对于同一个进程的s-p/c-p,当找到了 x_request_id 关联,但 syscall_trace_id 上没有关联关系,在时间覆盖的前提下,允许构建关联关系

@taloric taloric self-assigned this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant