gpt4 book ai didi

azure - 如何为从未触发的警报创建 azure 的 customMetric 警报?

转载 作者:行者123 更新时间:2023-12-03 05:34:16 24 4
gpt4 key购买 nike

我在产品环境中有一些错误警报,如果它们触发,我希望收到警报。问题是他们从未被解雇过,所以我在门户中看不到他们。

谢谢!

最佳答案

我想我现在更好地理解你的问题了。今天我收到通知使用 this post新功能:

Define an alert rule on a custom metric that isn't emitted yet

When creating a metric alert rule, the metric name is validated against the Metric Definitions API to make sure it exists. In some cases, you'd like to create an alert rule on a custom metric even before it’s emitted. For example, when creating (using an Resource Manager template) an Application Insights resource that will emit a custom metric, along with an alert rule that monitors that metric.

To avoid having the deployment fail when trying to validate the custom metric’s definitions, you can use the skipMetricValidation parameter in the criteria section of the alert rule, which will cause the metric validation to be skipped.(source)

关于azure - 如何为从未触发的警报创建 azure 的 customMetric 警报?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63693183/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com