Implementing your own billing tracker
Last year, Microsoft released Windows Azure Storage Analytics, which performs logging and provides metrics on different levels for a specific storage account. The logging and metrics information can be used to find out how many storage transactions you actually performed. This feature of the platform gives you all the information to build your own billing tracker that analyzes this storage analytical information.
Enabling analytics
To turn on Storage Analytics for each service (blob, table, and queue), you must specifically set this in code or use REST requests.
In the following code snippet, everything is explicitly turned on for every service:
CloudStorageAccount account = CloudStorageAccount.DevelopmentStorageAccount; CloudBlobClient blobClient = account.CreateCloudBlobClient(); CloudQueueClient queueClient = account.CreateCloudQueueClient(); CloudTableClient tableClient = account.CreateCloudTableClient(); blobClient.SetServiceProperties...