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.
阅读剩余
THE END