添加请求计数为新列警报的条件

发布于 2025-01-18 17:05:28 字数 583 浏览 1 评论 0 原文

目前,我正在使用 apm 应用指标的 apdex 来监控服务的性能并触发警报。条件由 terraform 创建。但偶尔会出现一些请求数小于10的警报。如何通过添加条件(例如请求数> 10)来过滤掉这些警报,或者是否必须增加T在所有应用程序的 apdex 中?我看到了文档(https://registry.terraform .io/providers/newrelic/newrelic/latest/docs/resources/alert_condition#terms) 仅支持以下条件。 输入图片此处描述

Currently, I'm using the apm app metric's apdex to monitor the service's performance and trigger alerts. The conditions are created by terraform. But occasionally there are some alerts when the requests count is less than 10. How can I filter out these alerts by adding conditions(such as request count > 10), or do I have to increase the T in apdex for all applications? I saw the document(https://registry.terraform.io/providers/newrelic/newrelic/latest/docs/resources/alert_condition#terms) only supports the below conditions.
enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

§普罗旺斯的薰衣草 2025-01-25 17:05:28

我认为您想使用NRQL条件,而不是可以在其中定义 count> 10 在查询的过滤器中:

最终,所有条件类型都将在此处根据这篇文章转换为nrql: //discuss.newrelic.com/t/big-news-for-alerts-and-applied-intelligence/161436#whats-ange-away-away-away-away-3“ rel =“ nofollow noreferrer”> https://discuss.newrelic.com /t/big-news-for-alerts and papplied-intelligence/161436#Whats-whats-way-away-3

I think you want to use a NRQL condition instead where you can define count > 10 in the filter of the query: https://registry.terraform.io/providers/newrelic/newrelic/latest/docs/resources/nrql_alert_condition

Eventually, all condition types are going to be converted to NRQL anyways per this post here: https://discuss.newrelic.com/t/big-news-for-alerts-and-applied-intelligence/161436#whats-going-away-3

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文