diff --git a/CHANGELOG.md b/CHANGELOG.md index f2c7d82..1a17917 100644 --- a/CHANGELOG.md +++ b/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/vmalert.md b/vmalert.md index c1ae5b9..0307f4f 100644 --- a/vmalert.md +++ b/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).