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

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

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

sunface opened this issue May 14, 2019 · 1 comment
Labels
pinpoint pinpoint agent

Comments

@sunface
Copy link
Owner

sunface commented May 14, 2019

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

@sunface
Copy link
Owner Author

sunface 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 pinpoint agent label May 17, 2019
@sunface sunface closed this as completed Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pinpoint pinpoint agent
Projects
None yet
Development

No branches or pull requests

2 participants