VictoriaMetrics/app/vmalert/config/testdata
Roman Khavronenko 39f559d22b
vmalert: allow using extra labels in annotations (#3181)
According to Ruler specification, only labels returned within time series
should be available for use in annotations.

For long time, vmalert didn't respect this rule. And in PR
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/2403
this was fixed for the sake of compatibility. However, this resulted
into users confusion, as they expected all configured and extra labels
to be available - https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3013

This fix allows to use extra labels in Annotations. But in the case of conflicts
the original labels (extracted from time series) are preferred.

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

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-09-29 18:22:50 +02:00
..
dir vmalert: allow configuring custom headers per group (#2901) 2022-07-21 15:59:55 +02:00
rules vmalert: allow using extra labels in annotations (#3181) 2022-09-29 18:22:50 +02:00
templates added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00