Skip to content

Commit

Permalink
[feat][common] Add request and response info for all request and
Browse files Browse the repository at this point in the history
response.

Signed-off-by: Ketor <[email protected]>
  • Loading branch information
ketor authored and rock-git committed Nov 29, 2023
1 parent ef944d8 commit 0d42011
Show file tree
Hide file tree
Showing 23 changed files with 1,343 additions and 807 deletions.
12 changes: 12 additions & 0 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -829,3 +829,15 @@ enum CoordinatorServiceType {
ServiceTypeAutoIncrement = 2;
ServiceTypeVersion = 3;
}

message RequestInfo {
int64 request_id = 1;
}

message TimeInfo {
int64 total_rpc_time_ns = 1;
}

message ResponseInfo {
TimeInfo time_info = 1;
}
Loading

0 comments on commit 0d42011

Please sign in to comment.