alerts: correct expression for DiskRunsOutOfSpaceIn3Days (#2856)

The negative value for ETA can happen when deduplication is enabled
and `rate` over `vm_deduplicated_samples_total` becomes bigger
than actual ingestion rate.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2022-07-12 14:14:47 +02:00 committed by GitHub
parent 7cbcbea49d
commit a42063909f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,7 @@ groups:
sum(vm_data_size_bytes{type!="indexdb"}) /
sum(vm_rows{type!="indexdb"})
)
) < 3 * 24 * 3600
) < 3 * 24 * 3600 > 0
for: 30m
labels:
severity: critical