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
+4 -3
View File
@@ -25,6 +25,9 @@ message RequestHeader {
// member_id is the ID of the sender server.
uint64 member_id = 3;
Role role = 4;
// 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;
}
enum Role {
@@ -49,9 +52,7 @@ message Peer {
string addr = 2;
}
message TableId {
uint32 id = 1;
}
message TableId { uint32 id = 1; }
message TableName {
string catalog_name = 1;