mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-25 20:00:06 +01:00
4c0e79254c
### Describe Your Changes
This PR adds the feature to parse a multi yaml doc following the
`\n---\n`
The issue is
[6753](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6753)
### Checklist
The following checks are **mandatory**:
- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
---------
Signed-off-by: kirti purohit <kirti.purohit@hpe.com>
Co-authored-by: kirti purohit <kirti.purohit@hpe.com>
Co-authored-by: Jiekun <jiekun@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 008b649658
)
11 lines
165 B
Plaintext
11 lines
165 B
Plaintext
groups:
|
|
- name: foo
|
|
rules:
|
|
- alert: VMRows
|
|
expr: vm_rows > 0
|
|
---
|
|
groups:
|
|
- name: foo
|
|
rules:
|
|
- alert: VMRows
|
|
expr: vm_rows > 0 |