mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
alerts: sync alert expression for DiskRunsOutOfSpaceIn3Days
with dashboard (#1435)
This commit is contained in:
parent
a846febc89
commit
ce3f087d46
1 changed files with 10 additions and 10 deletions
|
@ -32,13 +32,13 @@ groups:
|
|||
rules:
|
||||
- alert: DiskRunsOutOfSpaceIn3Days
|
||||
expr: |
|
||||
vm_free_disk_space_bytes / ignoring(path) (
|
||||
vm_free_disk_space_bytes / ignoring(path)
|
||||
(
|
||||
sum(rate(vm_rows_added_to_storage_total[1d])) -
|
||||
sum(rate(vm_deduplicated_samples_total[1d])) without(type)
|
||||
(
|
||||
rate(vm_rows_added_to_storage_total[1d]) -
|
||||
ignoring(type) rate(vm_deduplicated_samples_total{type="merge"}[1d])
|
||||
)
|
||||
*
|
||||
(
|
||||
* scalar(
|
||||
sum(vm_data_size_bytes{type!="indexdb"}) /
|
||||
sum(vm_rows{type!="indexdb"})
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue