From 3c27bde77eb63f1999633fcd9bcb7d91e604947d Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 11 Apr 2022 12:11:32 +0300 Subject: [PATCH] docs/CHANGELOG.md: document ed364a42e3bfbe5b4aed4ec3c2924db78df8d0c7 --- app/vmalert/README.md | 2 +- docs/CHANGELOG.md | 2 ++ docs/vmalert.md | 7 ++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/app/vmalert/README.md b/app/vmalert/README.md index 8a591c1399..b03ef76dd2 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -911,7 +911,7 @@ static_configs: consul_sd_configs: [ - ... ] -# List of relabel configurations for entities discovere via service discovery. +# List of relabel configurations for entities discovered via service discovery. # Supports the same relabeling features as the rest of VictoriaMetrics components. # See https://docs.victoriametrics.com/vmagent.html#relabeling relabel_configs: diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f2c7d825d0..1a179177f2 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -15,6 +15,8 @@ The following tip changes can be tested by building VictoriaMetrics components f ## tip +FEATURE: [vmalert](https://docs.victoriametrics.com/vmalert.html): add support for `alert_relabel_configs` option at `-notifier.config`. This option allows configuring relabeling rules for alerts before sending them to configured notifiers. See [these docs](https://docs.victoriametrics.com/vmalert.html#notifier-configuration-file) for details. + BUGFIX: [Graphite Render API](https://docs.victoriametrics.com/#graphite-render-api-usage): properly calculate [hitCount](https://graphite.readthedocs.io/en/latest/functions.html#graphite.render.functions.hitcount) function. Previously it could return empty results if there were no original samples in some parts of the selected time range. diff --git a/docs/vmalert.md b/docs/vmalert.md index c1ae5b979c..0307f4f6ef 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -915,12 +915,17 @@ static_configs: consul_sd_configs: [ - ... ] -# List of relabel configurations. +# List of relabel configurations for entities discovered via service discovery. # Supports the same relabeling features as the rest of VictoriaMetrics components. # See https://docs.victoriametrics.com/vmagent.html#relabeling relabel_configs: [ - ... ] +# List of relabel configurations for alert labels sent via Notifier. +# Supports the same relabeling features as the rest of VictoriaMetrics components. +# See https://docs.victoriametrics.com/vmagent.html#relabeling +alert_relabel_configs: + [ - ... ] ``` The configuration file can be [hot-reloaded](#hot-config-reload).