VictoriaMetrics/app/vmalert/config/testdata/rules
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
..
kube-good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules-query-good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules-replay-good.rules vmalert: followup for 76f05f8670 (#2706) 2022-06-09 13:15:35 +03:00
rules0-bad.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules0-good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules1-bad.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules1-good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules2-good.rules vmalert: allow using extra labels in annotations (#3181) 2022-09-30 07:48:59 +03:00
rules3-good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules4-good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00
rules_interval_good.rules added reusable templates support (#2532) 2022-05-20 12:25:11 +03:00