Grafana Alert 报警,最小评估时间调整

一、描述

  • 当做日志报警时候,可能日志只有一条,不会有多条,那么grafana 无法满足需求,所以需要调整最小时间

1.1、修改 Grafana 配置

[recorded_queries]
enabled
Whether the recorded queries feature is enabled

min_interval
Sets the minimum interval to enforce between query evaluations. The default value is 10s. Query evaluation will be adjusted if they are less than this value. Higher values can help with resource management.

The interval string is a possibly signed sequence of decimal numbers, followed by a unit suffix (ms, s, m, h, d), e.g. 30s or 1m.

版权声明:
作者:Akiraka
链接:https://www.akiraka.net/linux/1545.html
来源:Akiraka
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
海报
Grafana Alert 报警,最小评估时间调整
一、描述 当做日志报警时候,可能日志只有一条,不会有多条,那么grafana 无法满足需求,所以需要调整最小时间 1.1、修改 Grafana 配置 官方文档: https:……
<<上一篇
下一篇>>
文章目录
关闭
目 录