diff options
Diffstat (limited to 'weed/pb/filer.proto')
| -rw-r--r-- | weed/pb/filer.proto | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto index 3f7c39c89..a19aa7dbc 100644 --- a/weed/pb/filer.proto +++ b/weed/pb/filer.proto @@ -30,6 +30,9 @@ service SeaweedFiler { rpc DeleteCollection (DeleteCollectionRequest) returns (DeleteCollectionResponse) { } + rpc Statistics (StatisticsRequest) returns (StatisticsResponse) { + } + } ////////////////////////////////////////////////// @@ -154,3 +157,17 @@ message DeleteCollectionRequest { message DeleteCollectionResponse { } + +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; +} |
