diff options
Diffstat (limited to 'weed/pb/master.proto')
| -rw-r--r-- | weed/pb/master.proto | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto index c1e5d4798..544160c06 100644 --- a/weed/pb/master.proto +++ b/weed/pb/master.proto @@ -13,6 +13,8 @@ service Seaweed { } rpc Assign (AssignRequest) returns (AssignResponse) { } + rpc Statistics (StatisticsRequest) returns (StatisticsResponse) { + } } ////////////////////////////////////////////////// @@ -108,3 +110,17 @@ message AssignResponse { uint64 count = 4; string error = 5; } + +message StatisticsRequest { + string replication = 1; + string collection = 2; + string ttl = 3; +} +message StatisticsResponse { + string replication = 1; + string collection = 2; + string ttl = 3; + uint64 total_size = 4; + uint64 used_size = 5; + uint64 file_count = 6; +} |
