feat: adds node info to heartbeat request (#160)
This commit is contained in:
@@ -46,6 +46,7 @@ message HeartbeatRequest {
|
||||
uint64 duration_since_epoch = 6;
|
||||
// The node's epoch
|
||||
uint64 node_epoch = 7;
|
||||
NodeInfo info = 8;
|
||||
}
|
||||
|
||||
enum RegionRole {
|
||||
@@ -55,6 +56,15 @@ enum RegionRole {
|
||||
Follower = 1;
|
||||
}
|
||||
|
||||
message NodeInfo {
|
||||
// The node build version
|
||||
string version = 1;
|
||||
// The node build git commit hash
|
||||
string git_commit = 2;
|
||||
// The node start timestamp
|
||||
uint64 start_time_ms = 3;
|
||||
}
|
||||
|
||||
message RegionStat {
|
||||
uint64 region_id = 1;
|
||||
// The read capacity units during this period
|
||||
|
||||
Reference in New Issue
Block a user