Bug #19870
closedrgw: bytes_send and bytes_recv in the msg of usage show returning is 0 in master branch
0%
Description
➜ build git:(master) ✗ ./bin/radosgw-admin usage show
{
"entries": [
{
"user": "tester",
"buckets": [
{
"bucket": "",
"time": "2017-05-05 06:00:00.000000Z",
"epoch": 1493964000,
"owner": "tester",
"categories": [
{
"category": "list_buckets",
"bytes_sent": 0,
"bytes_received": 0,
"ops": 2,
"successful_ops": 2
}
]
},
{
"bucket": "222",
"time": "2017-05-05 06:00:00.000000Z",
"epoch": 1493964000,
"owner": "tester",
"categories": [
{
"category": "create_bucket",
"bytes_sent": 0,
"bytes_received": 0,
"ops": 1,
"successful_ops": 1
}
]
}
]
}
],
"summary": [
{
"user": "tester",
"categories": [
{
"category": "create_bucket",
"bytes_sent": 0,
"bytes_received": 0,
"ops": 1,
"successful_ops": 1
},
{
"category": "list_buckets",
"bytes_sent": 0,
"bytes_received": 0,
"ops": 2,
"successful_ops": 2
}
],
"total": {
"bytes_sent": 0,
"bytes_received": 0,
"ops": 3,
"successful_ops": 3
}
}
]
}