Hui Wang
|
d62f303e53
|
vmalert-tool: exit normally when no rule is defined under rule group (#6502)
address https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6500
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
|
2024-06-18 14:00:06 +02:00 |
|
Hui Wang
|
e3e40cb848
|
vmalert-tool: fix float values template in input_series (#6395)
address https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6391
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
|
2024-06-03 11:49:44 +02:00 |
|
jackyin
|
fe5846211f
|
app/vmalert-tool: optimise regex (#6291)
every time function **parseInputValue** execute, these regexp are
initialized. which situation reduce the performance.
|
2024-05-17 14:21:49 +02:00 |
|
Aliaksandr Valialkin
|
ae8a867924
|
all: add support for specifying multiple -httpListenAddr options
|
2024-02-09 03:15:04 +02:00 |
|
Hui Wang
|
1911320c86
|
vmalert-tool: fix alert_rule_test case when eval_time is not multiple of evaluation_interval (#5387)
Co-authored-by: hagen1778 <roman@victoriametrics.com>
|
2023-12-01 12:17:24 +01:00 |
|
Aliaksandr Valialkin
|
fc98b62760
|
lib/promutils, app/vmalert-tool/unittest: move promutils.Duration.ParseTime() to app/vmalert-tool/unittest.durationToTime()
The ParseTime() function looks strange, since it converts relative duration to absolute time since Unix Epoch.
In most scenarios such a conversion is used by mistake.
It is better to do not expose such a function for public use and hide it inside the package where it is needed,
e.g. inside app/vmalert-tool/unittest.
This is a follow-up for dc28196237
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2945
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4789
|
2023-10-16 14:19:31 +02:00 |
|
Haleygo
|
dc28196237
|
vmalert-tool: implement unittest (#4789)
1. split package rule under /app/vmalert, expose needed objects
2. add vmalert-tool with unittest subcmd
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2945
|
2023-10-13 13:54:33 +02:00 |
|