feat: pass tracing context in proto (#120)

* feat: pass tracing context in proto

* fix: run make
This commit is contained in:
WU Jingdi
2023-11-15 19:26:13 +08:00
committed by GitHub
parent 7eb2e78be7
commit 25429306d0
15 changed files with 2327 additions and 1045 deletions
+3 -4
View File
@@ -29,10 +29,9 @@ message RequestHeader {
AuthHeader authorization = 3;
// The `dbname` for the request
string dbname = 4;
// TraceID of request
uint64 trace_id = 5;
// SpanID of request
uint64 span_id = 6;
// Encoded trace_id & span_id, follow the w3c Trace Context
// https://www.w3.org/TR/trace-context/#header-name
map<string, string> tracing_context = 5;
}
message ResponseHeader { Status status = 1; }