VictoriaMetrics/app/vmalert/config/testdata/rules
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
..
kube-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules-query-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules-replay-good.rules vmalert: followup for 76f05f8670 (#2706) 2022-06-09 08:58:25 +02:00
rules0-bad.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules0-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules1-bad.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules1-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules2-good.rules vmalert: allow using extra labels in annotations (#3181) 2022-09-29 18:22:50 +02:00
rules3-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules4-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules_interval_good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00