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
+2 -4
View File
@@ -27,10 +27,8 @@ import "greptime/v1/ddl.proto";
service Region { rpc Handle(RegionRequest) returns (RegionResponse); }
message RegionRequestHeader {
// TraceID of request
uint64 trace_id = 1;
// SpanID of request
uint64 span_id = 2;
// 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;
// DB Name of request, tracking only
string dbname = 3;
}