Skip to content

Commit c710d22

Browse files
committed
RATIS-2393 Add Span Context to RaftRpcMessage Proto
1 parent b02fed5 commit c710d22

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ratis-proto/src/main/proto/Raft.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ message RaftRpcRequestProto {
121121
uint64 timeoutMs = 13;
122122
RoutingTableProto routingTable = 14;
123123
SlidingWindowEntry slidingWindowEntry = 15;
124+
SpanContextProto spanContext = 16;
124125
}
125126

126127
message SlidingWindowEntry {
@@ -569,3 +570,8 @@ message LogInfoProto {
569570
TermIndexProto committed = 3;
570571
TermIndexProto lastEntry = 4;
571572
}
573+
574+
// The attribute map for opentelemetry trace
575+
message SpanContextProto {
576+
map<string, string> context = 1;
577+
}

0 commit comments

Comments
 (0)