deepflowio / deepflow

eBPF Observability - Distributed Tracing and Profiling

Home Page:https://deepflow.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FR] Add user information when parsing MySQL protocol

chluknight opened this issue · comments

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

At present, after parsing MySQL, the database saves SQL statements and tuple information. However, there is an audit requirement to see which user and which AIP called this SQL, and in this case, user information also needs to be retained in the database. By capturing packets, it was found that there is user information in the context of the SQL statement message, which can be attempted.
eBPF-mysql-1
eBPF-mysql-2

Use case

When parsing MySQL messages, user information is also parsed and stored in CK.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct