VictoriaMetrics/app
Dmytro Kozlov b75f1854c5
vmselect/promql: add alphanumeric sort by label (sort_by_label_numeric) (#2982)
* vmselect/promql: add alphanumeric sort by label (sort_by_label_numeric)

* vmselect/promql: fix tests, add documentation

* vmselect/promql: update test

* vmselect/promql: update for alphanumeric sorting, fix tests

* vmselect/promql: remove comments

* vmselect/promql: cleanup

* vmselect/promql: avoid memory allocations, update functions descriptions

* vmselect/promql: make linter happy (remove ineffectual assigment)

* vmselect/promql: add test case, fix behavior when strings are equal

* vendor: update github.com/VictoriaMetrics/metricsql from v0.44.1 to v0.45.0

this adds support for sort_by_label_numeric and sort_by_label_numeric_desc functions

* wip

* lib/promscrape: read response body into memory in stream parsing mode before parsing it

This reduces scrape duration for targets returning big responses.

The response body was already read into memory in stream parsing mode before this change,
so this commit shouldn't increase memory usage.

* wip

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-09-14 17:41:09 +03:00
..
victoria-metrics app/victoria-metrics: replace ioutil package with os package (#2993) 2022-08-21 23:41:31 +03:00
vmagent bump Go version to 1.19.1 (#3108) 2022-09-14 12:29:19 +02:00
vmalert vmalert: add experimental feature of storing Rule's evaluation state (#3106) 2022-09-14 14:04:24 +02:00
vmauth bump Go version to 1.19.1 (#3108) 2022-09-14 12:29:19 +02:00
vmbackup bump Go version to 1.19.1 (#3108) 2022-09-14 12:29:19 +02:00
vmbackupmanager all: rename -pushmetrics.extraLabels to -pushmetrics.extraLabel for the sake of consistency 2022-07-26 19:24:24 +03:00
vmctl bump Go version to 1.19.1 (#3108) 2022-09-14 12:29:19 +02:00
vmgateway all: rename -pushmetrics.extraLabels to -pushmetrics.extraLabel for the sake of consistency 2022-07-26 19:24:24 +03:00
vminsert lib/promscrape: follow-up after 2c553d5a2f 2022-08-08 14:46:26 +03:00
vmrestore bump Go version to 1.19.1 (#3108) 2022-09-14 12:29:19 +02:00
vmselect vmselect/promql: add alphanumeric sort by label (sort_by_label_numeric) (#2982) 2022-09-14 17:41:09 +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:44:04 +03:00
vmui vmui: fix query params saving in URL (#3104) 2022-09-13 17:05:26 +02:00