VictoriaMetrics/app/vmalert/config
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
..
testdata vmalert: allow using extra labels in annotations (#3181) 2022-09-29 18:22:50 +02:00
config_test.go vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:25:43 +03:00
config.go vmalert: prodvide more details on duplicates (#3136) 2022-09-20 12:52:46 +02:00
types.go vmalert: remove dependency on datasource pkg from config (#2905) 2022-07-22 10:44:55 +02:00