如何使用新警报编写webtest?

编程入门 行业动态 更新时间:2024-10-11 01:12:21
本文介绍了如何使用新警报编写webtest?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

将经典警报迁移到新警报。



With the classic alert migration to new alert.

我有一个ping网址"Microsoft.Insights / webtest"在Azure可用性测试中。

I have a ping url "Microsoft.Insights/webtest" in Azure Availability Tests.

旧的警报类型是"Microsoft.Insights / alertrules"。

The old alert type is "Microsoft.Insights/alertrules".

条件类型是"Microsoft.Azure" .Management.Insights.Models.LocationThresholdRuleCondition"。

The condition type is "Microsoft.Azure.Management.Insights.Models.LocationThresholdRuleCondition".

旧的metricName是"GSMT_AvRaW"。

The old metricName is "GSMT_AvRaW".

当我在可用性中添加新测试时,我可以将警报类型经典切换到近实时。

When I add New Test in Availability, I can switch Alert Type Classic to Near-realtime.

如何手动编写这个新警报(近实时)或如何手动写入网络测试?

How to write this new alert(Near-realtime) in arm or how to write into webtests in arm?

推荐答案

Hello HaibaraAi,

Hello HaibaraAi,

如果您还没有,请查看 此Azure快速入门示例供参考。

If you haven't already, check out this Azure Quick start sample for reference.

还包括 旧博客,遍历webtest c使用ARM的反应。

Also including an older blog that walks through webtest creation using ARM.

希望这会有所帮助。

干杯。

更多推荐

如何使用新警报编写webtest?

本文发布于:2023-11-27 17:54:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639016.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:警报   如何使用   webtest

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!