alerts-cluster: TooHighChurnRate 和 TooHighSlowInsertsRate 总是评估为 +Inf ( #7670 中的回退)

作者: transacid创建于 2026年9月29日更新于 2026年9月30日
标签bugalerts

Describe the bug

TooHighChurnRate and TooHighSlowInsertsRate in deployment/Docker/rules/alerts-cluster.yml cannot produce a meaningful value in a cluster deployment. Both divide by vm_rows_inserted_total grouped by job:

promql
(
  sum(rate(vm_new_timeseries_created_total[5m])) by(job)
  /
  sum(rate(vm_rows_inserted_total[5m])) by(job)
) > 0.1

In cluster mode, the numerators and the denominator live on different components:

内容来源: VictoriaMetrics/VictoriaMetrics