VictoriaMetrics/app
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
..
vmagent lib/promrelabel: add SanitizeName() function for sanitizing Prometheus metric names and label names 2022-09-28 10:02:11 +03:00
vmalert vmalert: allow using extra labels in annotations (#3181) 2022-09-30 07:48:59 +03:00
vmauth lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:38:43 +03:00
vmbackup lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:38:43 +03:00
vmbackupmanager lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:38:43 +03:00
vmctl lib/promrelabel: add SanitizeName() function for sanitizing Prometheus metric names and label names 2022-09-28 10:02:11 +03:00
vmgateway lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:38:43 +03:00
vminsert lib/promrelabel: add SanitizeName() function for sanitizing Prometheus metric names and label names 2022-09-28 10:02:11 +03:00
vmrestore lib/{httpserver,netutil}: allow to define min and max TLS version of the http server (#3109) 2022-09-26 17:38:43 +03:00
vmselect vmselect/rollup: rm workaround for slow-changing counters (#3163) 2022-09-26 15:39:49 +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:41:57 +03:00
vmui vmui: fix query params saving in URL (#3104) 2022-09-13 19:19:57 +03:00