pingcap / kvproto

Protocol buffer files for TiKV
Apache License 2.0
154 stars 220 forks source link

support trace sql connection_id and session_alias #1175

Closed lcwangchao closed 1 year ago

lcwangchao commented 1 year ago

We need to add some sql fields to trace some user operations in full link

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

cfzjywxk commented 1 year ago

Could this https://github.com/pingcap/kvproto/pull/1103 be resued? @ekexium PTAL

ekexium commented 1 year ago

Could this #1103 be resued? @ekexium PTAL

connection_id seems to have the same meaning. I believe we can use either of these structures as long as we put everything we need in it.

lcwangchao commented 1 year ago

closed as #1103 has implemented it