VictoriaMetrics/app/vmalert-tool
Viet Hung Nguyen 21d1385ae1
vmalert-tool: set default interval for unittest input_series (#7392)
### Describe Your Changes
Currently it is not optional option, but if user forgot to set, it
defaults to 0, which cause unexpected behavior.

This change sets default = evaluation_interval similar to promtool
behavior.


https://prometheus.io/docs/prometheus/2.55/configuration/unit_testing_rules/#test_group
### Checklist

The following checks are **mandatory**:

- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

Signed-off-by: Viet Hung Nguyen <hvn@familug.org>
2024-10-31 14:04:50 +01:00
..
multiarch app/*/multiarch: return back empty value for TARGETARCH 2024-09-06 18:12:17 +02:00
unittest vmalert-tool: set default interval for unittest input_series (#7392) 2024-10-31 14:04:50 +01:00
main.go vmalert-tool: add -external.label and -external.url command-line … (#6766) 2024-08-19 21:29:28 +02:00
Makefile app/vmalert-tool/Makefile: add make vmalert-tool-linux-loong64 build rule 2024-07-12 23:19:04 +02:00
README.md docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00

See vmalert-tool docs here.

vmalert-tool docs can be edited at docs/vmalert-tool.md.