deepflowio / deepflow

eBPF Observability - Distributed Tracing and Profiling
https://deepflow.io
Apache License 2.0
2.99k stars 334 forks source link

[BUG] 持续性能剖析火焰图展示问题 #8285

Closed ZSJGG closed 1 month ago

ZSJGG commented 1 month ago

Search before asking

DeepFlow Component

Server

What you expected to happen

server版本6.6在6.5的基础上对profile的api查询返回数据的结构做出了调整: 在6.5中的结构如下图(官方文档): image 在6.6中的结构如下图(官方文档): image 在6.5中返回了parent_node_id和node_id用于确定节点间的父子关系,但是更新到6.6后 只返回了parent_node_id, 猜测function_id也只是用于确认函数名称,那么根据现有的数据还可以确定节点间的父子关系吗?希望官方能答复一下,谢谢。

How to reproduce

update 6.5 to 6.6 release

DeepFlow version

6.6 release

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?

Code of Conduct

xiaochaoren1 commented 1 month ago

6.6 版本中,数组下标即为 node_id,依然可以确定父子关系