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

[QA]deepflow无法关联上报自定义trace信息到flow log #8097

Open
svensxl opened this issue Sep 10, 2024 · 0 comments
Open

[QA]deepflow无法关联上报自定义trace信息到flow log #8097

svensxl opened this issue Sep 10, 2024 · 0 comments

Comments

@svensxl
Copy link

svensxl commented Sep 10, 2024

我修改agent/src/config/handler.rs,以支持自定义的HTTP上下文传输头字段,通过agent输出的日志可以看到已经请求头字段已经被agent捕获,但是并没有存储到flow log,并且Trace Completion API也查询不到

  1. 下面是修改的代码
    1
    2

  2. deepflow-agent.yaml: 配置如下
    /# cat /etc/deepflow-agent/deepflow-agent.yaml
    controller-ips:

  • 'deepflow-server'
    http_log_trace_id: traceparent, sw8, vipb3
    http_log_span_id: traceparent, sw8, vipb3span
  1. agent hander.rs捕获的头字段
    3

  2. APM落盘的Trace:
    4

  3. 调用Trace Completion API获取不到相关deepflow关联span数据
    5

  4. 查询CK获取不到相关flow log
    6

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

No branches or pull requests

1 participant