VictoriaMetrics/app/vmalert/config
Roman Khavronenko a2ded58600
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-30 07:48:59 +03:00
..
testdata vmalert: allow using extra labels in annotations (#3181) 2022-09-30 07:48:59 +03:00
config_test.go vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:36:30 +03:00
config.go vmalert: prodvide more details on duplicates (#3136) 2022-09-21 11:11:40 +03:00
types.go vmalert: remove dependency on datasource pkg from config (#2905) 2022-07-22 13:38:25 +03:00