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
[FR] COM_STMT_EXECUTE 采集不到原始的sql #3590
Labels
Comments
Nick-0314
changed the title
[BUG] COM_STMT_EXECUTE 采集不到原始的sql
[FR] COM_STMT_EXECUTE 采集不到原始的sql
Aug 25, 2023
了解了下Mysql Statement交互逻辑大致为:
|
yuanchaoa
added a commit
that referenced
this issue
Aug 25, 2023
yuanchaoa
added a commit
that referenced
this issue
Aug 25, 2023
yuanchaoa
added a commit
that referenced
this issue
Aug 25, 2023
yuanchaoa
added a commit
that referenced
this issue
Aug 30, 2023
yuanchaoa
added a commit
that referenced
this issue
Aug 30, 2023
yuanchaoa
added a commit
that referenced
this issue
Aug 30, 2023
sharang
pushed a commit
that referenced
this issue
Aug 30, 2023
通过采集COM_STMT_PREPARE响应的statement id和COM_STMT_EXECUTE请求的statement id,并将其存入应用日志的request id中,应用日志搜素可以通过statement id查询到对应的sql;注意部分非COM_STMT_PREPARE响应的包可能误报statement id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
DeepFlow Component
Agent
What you expected to happen
COM_STMT_EXECUTE 类型采集不到原始的sql。错误的时候可以有错误信息,看了下mysql 协议,应该是有个statement id的,通过这个id是否可以关联出sql呢
How to reproduce
No response
DeepFlow version
No response
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
The text was updated successfully, but these errors were encountered: