简体   繁体   English

Azure存储指标数据

[英]Azure storage metrics data

I am trying to implement azure storage metrics code in my role but i am checking if there is easy way to get azure storage metric data about my files usage. 我正在尝试以我的角色实施Azure存储指标代码,但我正在检查是否有简便的方法来获取有关我的文件使用情况的Azure存储指标数据。 my code is stable and i do not want to change code again. 我的代码稳定,我不想再次更改代码。

Actually if you already have Windows Azure role running, then you don't need to make any changes to your code and you still can get Windows Azure Blob storage Metrics data. 实际上,如果您已经在运行Windows Azure角色,则无需对代码进行任何更改,您仍然可以获得Windows Azure Blob存储指标数据。

I have written a blog about it last time as Collecting Windows Azure Storage REST API level metrics data without a single line of programming, just by using tools 我上次写了一篇关于它的博客,内容涉及仅通过使用工具即可收集Windows Azure Storage REST API级别的指标数据,而无需进行任何编程工作

Please try above and see if this works for you. 请尝试上面,看看是否适合您。

Storage analytics is disabled by default, so any operations against your storage up til now has not been logged for analysis. 存储分析默认情况下禁用,因此,不外现在您的存储空间的任何操作还没有登录进行分析。

You may choose to enable analytics at any time, for both logging (detailed access information for every single object) and metrics (hourly rollups). 您可以选择随时启用日志记录(每个对象的详细访问信息)和指标(每小时汇总)的分析。 Further, you may choose which specific storage service to track (blobs, tables, queues) and which operations to track (read, write, delete). 此外,您可以选择要跟踪的特定存储服务(blob,表,队列)和要跟踪的操作(读取,写入,删除)。 Once analytics are enabled, you may access the resulting analytics data from any app (as long as you have the storage account name + key). 启用分析后,您可以从任何应用程序访问生成的分析数据(只要您具有存储帐户名+密钥)。

Persistent Systems just published a blog post on enabling storage analytics for Java apps. Persistent Systems刚刚发布了一篇有关为Java应用程序启用存储分析的博客文章 The same principles may be applied to a .net app (and the sdk's are very similar). 相同的原理可以应用于.net应用程序(并且sdk非常相似)。

Additionally, Full Scale 180 published a sample app encapsulating storage analytics (based on REST API, as it was written before SDK v1.6 came out). 此外,Full Scale 180发布了一个封装存储分析的示例应用程序 (基于REST API,因为它是在SDK v1.6发行之前编写的)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM