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

[BUG] deepflow agent 采集不到非gateway服务的trace_id #7540

Open
2 of 3 tasks
lpq131004 opened this issue Jul 24, 2024 · 2 comments
Open
2 of 3 tasks

[BUG] deepflow agent 采集不到非gateway服务的trace_id #7540

lpq131004 opened this issue Jul 24, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lpq131004
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

DeepFlow Component

Agent

What you expected to happen

通过gateway服务访问a服务的b接口时,能够采集到traceid信息,在l7_flow_log中有trace_id,但是直接向服务a请求接口b时,l7_flow_log中没有trace_id
image

How to reproduce

上图中得gateway服务可以调用stock

  • 两个服务都添加了skywalking java agent
  • deepflow配置了调用skywalking的trace api补充trace信息

DeepFlow version

Name: deepflow-server community edition
Branch: v6.5
CommitID: cf47935
RevCount: 10760
Compiler: go version go1.21.12 linux/amd64
CompileTime: 2024-07-22 10:26:37

10029-8b0dda74cba2509b0dcae74ae68000f9f374ce8e
Name: deepflow-agent community edition
Branch: v6.5.4
CommitId: 8b0dda7
RevCount: 10029
Compiler: rustc 1.77.1 (7cf61ebde 2024-03-27)
CompileTime: 2024-04-11 01:16:03

DeepFlow agent list

No response

Kubernetes CNI

No response

Operation-System/Kernel version

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@lpq131004 lpq131004 added the bug Something isn't working label Jul 24, 2024
@lpq131004 lpq131004 changed the title [BUG] [BUG] deepflow agent 采集不到非gateway服务的trace_id Jul 24, 2024
@1473371932
Copy link
Contributor

  1. 调用时所有应用都透传 trace id 了么?
  2. 这个 trace id 在 header 中叫什么?
  3. deepflow-ctl agent-group-config list $AGENT_GROUP_CONFIG_ID -o yaml看一下目前的组配置

@1473371932 1473371932 self-assigned this Jul 25, 2024
@lpq131004
Copy link
Author

lpq131004 commented Jul 25, 2024

@1473371932
1.调用时所有应用都透传了 trace id
1721897054660
2.使用的skywalking的Java agent,请求时使用sw8传输trace数据,并在每次请求返回的时候都会返回一个tracer字段记录traceid
3.deepflow agent没有分组

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants