VictoriaMetrics/app
Roman Khavronenko 35bf5bf688
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-16 13:22:26 +02:00
..
vmagent lib/promrelabel: add support for conditional relabeling via if filter 2022-02-24 02:35:13 +02:00
vmalert Vmalert compliance improvements (#2320) 2022-03-16 13:22:26 +02:00
vmauth docs: make profiling commands more copy-friendly (#2213) 2022-02-18 12:26:35 +02:00
vmbackup adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:42:33 +02:00
vmbackupmanager Old links replaced for newest (#2033) 2022-01-05 16:32:54 +02:00
vmctl adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:42:33 +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:22:44 +02:00
vminsert app/vminsert: add X-Influxdb-Version response header for InfluxDB API requests 2022-02-17 12:49:24 +02:00
vmrestore adds release build for macos darwin amd64 and arm64 (#2185) 2022-02-14 17:42:33 +02:00
vmselect vmui: update packages (#2264) 2022-03-03 18:50:44 +02:00
vmstorage lib: allow to configure cache size by type (#2206) 2022-02-21 13:55:51 +02:00
vmui vmui: update packages (#2264) 2022-03-03 18:50:44 +02:00