VictoriaMetrics/app/vmselect
Aliaksandr Valialkin f334908c22 app/vmselect/promql: ajdust data model to the model used in Prometheus
Do not take into account data points on the range `[timestamp .. timestamp+step)`
when calculating value on the given `timestamp`.
Use only data points from the past when performing these calculations like Prometheus does.

This should reduce discrepancies between results returned by VictoriaMetrics
and results returned by Prometheus.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/72
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/71
2019-06-21 21:55:25 +03:00
..
deployment all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
netstorage lib/fs: consolidate *RemoveAll* funcs into a single MustRemoveAll func 2019-06-12 01:55:18 +03:00
prometheus app/vmselect/prometheus: return better error messages on missing args to /api/v1/* 2019-06-20 14:07:44 +03:00
promql app/vmselect/promql: ajdust data model to the model used in Prometheus 2019-06-21 21:55:25 +03:00
main.go lib/flagutil: add NewArray helper func 2019-06-18 10:44:09 +03:00
Makefile all: remove -p XXXX:XXXX from docker run options, since it is unnesessary if --net=host is set 2019-05-24 12:53:12 +03: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.