VictoriaMetrics/app
Roman Khavronenko fb6eab03a2
Vmalert compliance improvements (#2320)
* vmalert: add support for `sortByLabel` template function

* vmalert: update API according to Prometheus conformance program

The changes to the API, field names and URL path has been made
according to the Prometheus specification for `alert_generator`
https://github.com/prometheus/compliance/blob/main/alert_generator/specification.md

* vmalert: fix the timestamp of the evaluated rules

The timestamp used for alert's `EndsAt` was calculated
before sending the notification. While the correct way
is to use the timestamp taken right before rules evaluation.

* vmalert: add `-datasource.queryTimeAlignment` flag

The flag is supposed to provide ability to disable `time`
param alignment when executing rules. By default, this flag
is enabled, so it remains backward compatible.

The flag was introduced to achieve better compatibility
with Prometheus behaviour according to https://github.com/prometheus/compliance/blob/main/alert_generator/specification.md

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-03-15 11:54:53 +00:00
..
victoria-metrics adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:28:56 +02:00
vmagent lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:27:26 +02:00
vmalert Vmalert compliance improvements (#2320) 2022-03-15 11:54:53 +00:00
vmauth docs: make profiling commands more copy-friendly (#2213) 2022-02-18 12:23:36 +02:00
vmbackup adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:28:56 +02:00
vmbackupmanager Old links replaced for newest (#2033) 2022-01-05 16:30:13 +02:00
vmctl adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:28:56 +02:00
vmgateway all: update link to EULA from https://victoriametrics.com/assets/VM_EULA.pdf to https://victoriametrics.com/legal/eula/ 2022-01-20 22:23:27 +02:00
vminsert app/vminsert: add X-Influxdb-Version response header for InfluxDB API requests 2022-02-17 12:47:43 +02:00
vmrestore adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:28:56 +02:00
vmselect vmui: update packages (#2264) 2022-03-03 18:49:13 +02:00
vmstorage lib: allow to configure cache size by type (#2206) 2022-02-21 13:50:34 +02:00
vmui vmui: update packages (#2264) 2022-03-03 18:49:13 +02:00