如何在Application Insights中获取请求子集的移动RPS图?

问题描述 投票:-1回答:1

我正在尝试为一组特定的URL创建负载测试模拟。

要做到这一点,我需要了解我的生产应用程序中这些请求的用法。

所以我正在寻找的是我的特定API URL的“平均”RPS随着时间的推移。这将允许我创建目标的最小/最大RPS。

我无法通过Application Insights看到如何做到这一点。

有人可以提供指导吗?也许我需要导出IIS日志并手动执行?

谢谢

azure azure-application-insights appinsights
1个回答
0
投票

在分析中写下这样的查询:

requests
| where timestamp > datetime(2019-04-16T21:22:00Z)
| where timestamp < datetime(2019-04-16T21:32:00Z)
| summarize sum(itemCount) by bin(timestamp, 1s) 
| render timechart 

(用实际时间替换)

© www.soinside.com 2019 - 2024. All rights reserved.