Hui Wang
|
3b8970802e
|
vmalert-tool: support file path with hierarchical patterns and regexp… (#6501)
…es, and http url in unittest cmd-line flag `-files`
|
2024-06-18 14:14:30 +02:00 |
|
hagen1778
|
ede9004850
|
app/vmalert-tool: typo fix
Signed-off-by: hagen1778 <roman@victoriametrics.com>
|
2024-06-18 14:05:36 +02:00 |
|
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
|
334a739ff6
|
docs: convert png images to webp in all the docs except of docs/operator/*
This reduces the size of docs/* folder from 33MB to 18MB
Images inside docs/operator/* must be converted at the https://github.com/VictoriaMetrics/operator/tree/master/docs
and then the updated images must be automatically propagated to the docs/operator/*
This is a follow-up for d3f919df3e
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5206
|
2023-11-22 19:21:00 +02:00 |
|
Aliaksandr Valialkin
|
0ea35215f6
|
app/vmalert-tool: add missing multiarch directory
This is needed for 'make publish-vmalert-tool'
|
2023-11-15 18:11:50 +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 |
|
Artem Navoiev
|
84cf96228f
|
docs/alert-tools add yaml output type for the correct displaying
Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
|
2023-10-13 09:39:27 -07: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 |
|