VictoriaMetrics/app
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
..
victoria-metrics app/victoria-metrics: replace ioutil package with os package (#2993) 2022-08-21 23:41:31 +03:00
vmagent lib/promrelabel: add SanitizeName() function for sanitizing Prometheus metric names and label names 2022-09-28 10:40:59 +03:00
vmalert vmalert: allow using extra labels in annotations (#3181) 2022-09-29 18:22:50 +02:00
vmauth lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00
vmbackup lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00
vmbackupmanager lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00
vmctl lib/promrelabel: add SanitizeName() function for sanitizing Prometheus metric names and label names 2022-09-28 10:40:59 +03:00
vmgateway lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00
vminsert lib/promrelabel: add SanitizeName() function for sanitizing Prometheus metric names and label names 2022-09-28 10:40:59 +03:00
vmrestore lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:35:45 +03:00
vmselect vmselect/rollup: rm workaround for slow-changing counters (#3163) 2022-09-26 15:33:25 +03:00
vmstorage app/vmstorage: expose vm_{hourly,daily}_series_limit_{max,current}_series metrics if -storage.max{Hourly,Daily}Series limits are set 2022-08-24 13:44:04 +03:00
vmui vmui: fix query params saving in URL (#3104) 2022-09-13 17:05:26 +02:00