Azure App Service Metrics - 如何解释与请求相关的 Sum 与 Count? [英] Azure App Service Metrics - How to interpret Sum vs. Count related to requests?

查看:19
本文介绍了Azure App Service Metrics - 如何解释与请求相关的 Sum 与 Count?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是从 Azure 下载的 Excel 文件的屏幕截图,显示了我们的 Web 应用程序收到的请求数量的指标.

Below is a screen shot of an Excel file downloaded from Azure showing metrics on the number of requests our web app is getting.

注意以黄色和橙色突出显示的行.128、177 和 138 代表请求的总和.8、9 和 9 代表请求的计数.我不知道谁来解释这些数字.128 是否意味着从 12:55 到 13:00 有 128 个请求?然后从 13:00 到 13:05 有 177 个请求?如果有,8、9、9的计数值代表什么?

Notice the rows highlighted in yellow and orange. The 128, 177 and 138 represents the sum of requests. The 8, 9 and 9 represent the count of requests. I don't know who to interpret these numbers. Does the 128 mean that from 12:55 to 13:00 there were 128 requests? And then from 13:00 to 13:05 there were 177 requests? If so, what does the count values of 8, 9 and 9 represent?

推荐答案

指标是一段时间内的聚合.每个指标值都包括总计/最小/最大/平均/计数属性.在上面的示例中,177 表示从 13:05 - 13:10 总共有 177 个请求.count 属性表示该时间段内的样本数.如果这是 Requests 指标,您可能会对 Total 属性更感兴趣.

A metric is an aggregation over a time period. Each metric value includes total/minimum/maximum/average/count properties. In the above example, 177 means there were a total of 177 requests from 13:05 - 13:10. The count property indicates the number of samples in that time period. If this is the Requests metric, you will likely be more interested in the Total property.

更多详情,请参考以下内容:

For more details, please refer to the following:

https://docs.microsoft.com/en-us/rest/api/monitor/metrics/list#metric

https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-supported-metrics#microsoftwebsites- exclude-functions

这篇关于Azure App Service Metrics - 如何解释与请求相关的 Sum 与 Count?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆