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

span chunk缺失api信息,影响数据统计 #94

Open
sunface opened this issue May 14, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@sunface
Copy link
Member

commented May 14, 2019

因为span chunk没有带上api信息,因此我们无法将method映射到api接口,在method_stats表中,无法通过api查询到对应的方法统计信息

@sunface

This comment has been minimized.

Copy link
Member Author

commented May 14, 2019

解决方案:

  1. 每次查询traces表,根据trace_id + span_id获取api
  2. 缓存trace_id + span_id -> api的映射(在collector或者agent缓存)
  3. 修改pinpoint源码,在chunk中带上api信息

@sunface sunface changed the title chunk里的method统计缺失 span chunk缺失api信息,影响数据统计 May 17, 2019

@sunface sunface added the pinpoint label May 17, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.