mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-16 17:21:04 +01:00
6c63ca18f5
c9375cac5e
Descriptions were updated in attempt to make it more clear for readers, re-phrasing and linking missing docs. `eval_delay` was added to tests to verify it can be unmarshalled. `eval_delay` is now applied before timestamp alignment to make it more predictable. Before, if delay < interval the timestamp won't be aligned. `eval_delay` and `eval_offset` was added to API output. `PreviouslySentSeriesToRW` converted to private `previouslySentSeriesToRW`. Signed-off-by: hagen1778 <roman@victoriametrics.com> (cherry picked from commita216fe6728
)
26 lines
774 B
Plaintext
26 lines
774 B
Plaintext
groups:
|
|
- name: TestGroup
|
|
interval: 2s
|
|
concurrency: 2
|
|
type: graphite
|
|
rules:
|
|
- alert: Conns
|
|
expr: filterSeries(sumSeries(host.receiver.interface.cons),'last','>', 500)
|
|
for: 3m
|
|
|
|
annotations:
|
|
summary: Too high connection number for {{$labels.instance}}
|
|
description: "It is {{ $value }} connections for {{$labels.instance}}"
|
|
- name: TestGroupPromMixed
|
|
interval: 2s
|
|
concurrency: 2
|
|
type: prometheus
|
|
eval_delay: 30s
|
|
rules:
|
|
- alert: Conns
|
|
expr: sum(vm_tcplistener_conns) by (instance) > 1
|
|
for: 3m
|
|
annotations:
|
|
summary: Too high connection number for {{$labels.instance}}
|
|
description: "It is {{ $value }} connections for {{$labels.instance}}"
|