VictoriaMetrics/app
Roman Khavronenko b11f4ef5ea
app/vmalert: autogenerate ALERTS_FOR_STATE time series for alerting rules with for: 0 (#5680)
* app/vmalert: autogenerate `ALERTS_FOR_STATE` time series for alerting rules with `for: 0`

 Previously, `ALERTS_FOR_STATE` was generated only for alerts with `for > 0`.
 This behavior differs from Prometheus behavior - it generates ALERTS_FOR_STATE
 time series for alerting rules with `for: 0` as well. Such time series can
 be useful for tracking the moment when alerting rule became active.

 Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5648
 https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3056

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* app/vmalert: support ALERTS_FOR_STATE in `replay` mode

Signed-off-by: hagen1778 <roman@victoriametrics.com>

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2024-01-25 15:42:57 +01:00
..
victoria-logs lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
victoria-metrics app/vmselect: properly calculate start param for queries with too big look-behind window (#5630) 2024-01-17 13:48:06 +01:00
vlinsert Add _stream fields log (#5068) 2023-11-17 15:58:52 +01:00
vlselect vmui: reduced the number of server requests (#5253) 2023-11-14 01:50:00 +01:00
vlstorage lib/logstorage: follow-up for 8a23d08c21 2023-10-02 16:52:23 +02:00
vmagent all: add up to 10% random jitter to the interval between periodic tasks performed by various components 2024-01-22 18:40:32 +02:00
vmalert app/vmalert: autogenerate ALERTS_FOR_STATE time series for alerting rules with for: 0 (#5680) 2024-01-25 15:42:57 +01:00
vmalert-tool vmalert-tool: fix alert_rule_test case when eval_time is not multiple of evaluation_interval (#5387) 2023-12-01 12:17:24 +01:00
vmauth vmauth: fix vmauth_user_request_backend_errors_total metric calc logic for use case when only one backend is available - if we get an error from the retry_status_codes list, but cannot execute retry, we increment vmauth_user_request_backend_errors_total as well (#5688) 2024-01-25 14:04:20 +01:00
vmbackup lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vmctl app/vmctl/backoff: fix flaky test 2024-01-22 12:21:14 +01:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:21:00 +02:00
vminsert all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-21 22:03:38 +02:00
vmrestore lib/pushmetrics: wait until the background goroutines, which push metrics, are stopped at pushmetrics.Stop() 2024-01-15 13:50:36 +02:00
vmselect vmsingle/vmselect returns http status 429 (TooManyRequests) instead of 503 (ServiceUnavailable) when max concurrent requests limit is reached. (#5682) 2024-01-24 17:55:06 +01:00
vmstorage lib/storage: rename *AssistedMerges to *AssistedMergesCount in order to make these field names less misleading 2024-01-25 10:19:32 +02:00
vmui vmui: query report (#5497) 2024-01-23 04:23:26 +02:00