mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
774f7ca1c1
As per documentation on `label_replace` function: "If the regular expression doesn't match then the timeseries is returned unchanged". Currently this behavior is not enforced, if a regexp on an existing tag doesn't match then the tag value is copied as-is in the destination tag. This fix first checks that the regular expression matches the source tag before applying anything. Given the current implementation, this fix also changes the behavior of the **MetricsQL** `label_transform` function which does not document this behavior at the moment. |
||
---|---|---|
.. | ||
victoria-metrics | ||
vmagent | ||
vmalert | ||
vmauth | ||
vmbackup | ||
vminsert | ||
vmrestore | ||
vmselect | ||
vmstorage |