VictoriaMetrics/app/vmselect
nicbaz 46c5c0772c 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:54:29 +03:00
..
deployment Rootless docker images by default (#358) 2020-03-27 21:18:32 +02: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:45:57 +03:00
prometheus app/vmselect: fix the error after 936f35920a 2020-06-12 22:00:45 +03:00
promql vmselect: fix label_replace when mismatch (#579) 2020-06-23 23:54:29 +03:00
main.go all: print --help output to stdout instead of stderr 2020-05-16 12:03:06 +03:00
Makefile all: publish Docker images for the following GOARCH: amd64, arm, arm64, ppc64le and 386 2019-12-11 23:33:11 +02:00
README.md all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00

vmselect performs the following tasks:

  • Splits incoming selects to tasks for vmstorage nodes and issues these tasks to all the vmstorage nodes in the cluster.

  • Merges responses from all the vmstorage nodes and returns a single response.