英文:
Is there a way to monitor multiple endpoints inside a single API (App Services) in Azure Application Insights
问题
目标是逐个关注每个端点,包括以下指标:
- 请求数量
- 响应时间(请求持续时间)
- 请求失败
- 异常
我可以根据服务器(角色)来做到这一点,但我能根据每个端点来做吗?
英文:
The goal would be to follow each enpoint individually including those metrics :
- Number of request
- response time (request duration)
- Request failures
- Exceptions
I can do that based on the server (role) but can I do it based on each enpoint?
答案1
得分: 0
你寻找什么类型的持续时间?使用 Kusto,您可以创建如下的查询
requests
| summarize
requests = count(),
failures = countif(success == false),
avg_duration = avg(duration)
by operation_Name, cloud_RoleName
这对您有帮助吗?
英文:
What kind of duration are you looking for? Using kusto you can create a query like this
requests
| summarize
requests = count(),
failures = countif(success == false),
avg_duration = avg(duration)
by operation_Name, cloud_RoleName
Does this help to get you started?
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论