VictoriaMetrics/app/vmselect
nicbaz 774f7ca1c1
vmselect: fix label_replace when mismatch (#579)
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.
2020-06-23 23:50:33 +03:00
..
netstorage app/vmselect/netstorage: increase concurrency when processing small number of time series with big number of data points per each time series 2020-06-23 22:46:15 +03:00
prometheus lib: extract common code for returning fast unix timestamp into lib/fasttime 2020-05-14 23:02:07 +03:00
promql vmselect: fix label_replace when mismatch (#579) 2020-06-23 23:50:33 +03:00
main.go lib/storage: postpone reading data from blocks during search 2020-04-27 11:45:24 +03:00
README.md all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00

vmselect performs the incoming queries and fetches the required data from vmstorage.