hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

希望 阈值触发表达式 能够支持跨指标的自定义组合配置

Open colo1994 opened this issue 2 years ago • 3 comments

比如CPU使用率大于80%且内存大于70%时候进行告警。

colo1994 avatar Mar 17 '22 03:03 colo1994

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


For example, when the CPU usage is greater than 80% and the memory is greater than 70%, an alarm is generated.

Issues-translate-bot avatar Mar 17 '22 03:03 Issues-translate-bot

hi 这个需要考虑下
目前支持指标集合下的所有指标自定义组合告警 比如Linux的memory内存下面的 total-总内存 free-空闲内存 total>432432&&free>=234343 这种阈值表达式配置。 但是不支持跨指标集合的阈值表达式组合,比如cpu指标集合下面的指标和memory下面的指标。
这种跨集合的指标目前没找到好的计算关联方式,因为它们不是同一时刻采集的。

tomsun28 avatar Mar 17 '22 06:03 tomsun28

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


hi this needs to be considered Currently, all indicators under the indicator set are supported for custom combination alarms. For example, the threshold expression configuration of total-total memory free-free memory total>432432&&free>=234343 under the Linux memory memory. However, it does not support the combination of threshold expressions across indicator sets, such as the indicators below the cpu indicator set and the indicators below the memory. This kind of cross-collection indicators have not found a good way to calculate the correlation, because they are not collected at the same time.

Issues-translate-bot avatar Mar 17 '22 06:03 Issues-translate-bot