I use NodeJS 'azure-storage' module (version: 0.3.3)
I would like to get global stats about azure storage blob service.
Of course, I wont query all blobs to calculate by hand the total amount of storage used.
So I think that using blobService.getServiceStats
could help me. But this method return an error.
this.blobService.getServiceStats(function(error, result) {
if (error) {
console.info(error);
} else {
console.info(result);
}
});
This result in the following error :
{ [Error: Value for one of the query parameters specifie
RequestId:51b156a6-0001-002d-765f-b4ebd5000000
Time:2014-10-17T12:40:59.1246311Z]
code: 'InvalidQueryParameterValue',
queryparametername: 'comp',
queryparametervalue: 'stats',
reason: '',
statusCode: 400,
requestId: '51b156a6-0001-002d-765f-b4ebd5000000' }
This query parameter 'comp = stats' seems to be set by the SDK itself : blobservice.js line 156
What's wrong ? do you think I should open an issue here ?
Do you know a (working) way to get global blob stats ?
regards