node.js - Nodejs Azure storage blob service : getStats not working -


I NodeJS 'blue-storage module (version: 0k3k3) use

I would like blue about storage blob service to obtain global data

of course, I have all the blobs to calculate by hand query will hand use of the total volume of use

so I think That can help me by using blobService.getServiceStats but this method returns an error

  this.blobService.getSe RviceStats (function (error, result) {if (error) {console.info (error) ;.} Else {console.info (results);}});  

This results in the following error:

  {[Error: Specifie to a query parameter RequestId: 51b156a6-0001-002d-765f- b4ebd5000000 time: 2014-10-17T12: 40: 59.1246311Z] code: 'InvalidQueryParameterValue', queryparametername: 'COMP', queryparametervalue: 'figures', because: ', statusCode: 400, requestId:' 51b156a6-0001-002d- 765f- B4ebd5000000 '}  

This query parameter is being determined by' comp = statistics' SDK:

What's wrong? Do you think I should open an issue?

Do you know how to get global blob statistics?

I think you misunderstood the purpose of this operation Are there. This operation you on your blob storage account Geo Replication Status describes the information and that you REST API documents to obtain service data are captured on how much space for BLOB Storage :

Gate blob service statistics receives data related to replication for Operation Blob service. This secondary location is available at the end point only when access to read the unnecessary replica storage account .

You are interested in calculating the storage size of the BLOB storage, which you can do to enable storage analytics on your storage account. After storage analytics is enabled, you can query the $ MetricsCapacityBlob table again to find the Blob Storage size. You can read more about this table here:.

Now, why are you coming to this error because it can be added to this operation only secondary geo-location URL [youraccountname] -secondary.blob.core.windows .net My estimation of your storage account is that you are just going with the standard setting, which is basically the primary collection url [youraccountname] .blob.core.windows.net Tries to execute the campaign.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

c# - NewtonSoft JArray - how to select multiple elements with LINQ -

javascript - amcharts makechart not working -