feat: add TraceID and SpanID in request header (#59)

* feat: add TraceID and SpanID in request header

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* chore: gen go and java

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: evenyag <realevenyag@gmail.com>
This commit is contained in:
Ruihang Xia
2023-07-11 15:42:15 +08:00
committed by GitHub
parent 0f30b7fcbf
commit 53d0a7c5b0
3 changed files with 343 additions and 42 deletions
+4
View File
@@ -31,6 +31,10 @@ message RequestHeader {
AuthHeader authorization = 3;
// The `dbname` for the request
string dbname = 4;
// TraceID of request
optional uint64 trace_id = 5;
// SpanID of request
optional uint64 span_id = 6;
}
message AuthHeader {