Aliaksandr Valialkin
d92da32041
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-11-29 21:47:16 -08:00
Aliaksandr Valialkin
c7ce4979ec
all: follow-up after 05cf8a6ecc
2022-11-29 21:03:59 -08:00
Dmytro Kozlov
05cf8a6ecc
vmctl: support of the remote read protocol ( #3232 )
...
vmctl: support of the remote read protocol
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2022-11-29 22:53:28 +01:00
Aliaksandr Valialkin
8548650c2d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-11-25 20:13:43 -08:00
Aliaksandr Valialkin
e2a061b6a3
vendor: make vendor-update
2022-11-25 19:52:00 -08:00
Aliaksandr Valialkin
633ad34eb7
vendor: make vendor-update
2022-11-22 11:26:16 +02:00
Aliaksandr Valialkin
d9c3a2b605
app/vmselect/promql: add range_normalize(q1, ..., qN)
function for normalizing query results into [0..1] value range
...
This may be useful for analyzing correlation between time series with different value ranges
2022-11-21 23:25:00 +02:00
Aliaksandr Valialkin
05ed98c98b
app/vmselect/promql: allow using SI and IEC suffixes in numeric values inside queries
...
For example, 10Ki is equivalent to 10*1024, while 5.3M is equivalent to 5.3*1000*1000
2022-11-21 21:27:55 +02:00
Aliaksandr Valialkin
2c9017f6df
vendor: make vendor-update
2022-11-17 01:38:29 +02:00
Aliaksandr Valialkin
2dd82e8355
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-11-17 01:33:16 +02:00
Aliaksandr Valialkin
a260e2659e
app/vmselect/promql: add range_stdvar()
and range_stddev()
functions for calculating variance and deviation over time series on the selected time range
2022-11-17 01:03:40 +02:00
Aliaksandr Valialkin
c1a3192d8b
app/vmselect/promql: add range_linear_regression(q)
function for calculating simple linear regression for the selected time series on the selected time range
2022-11-17 00:38:48 +02:00
Aliaksandr Valialkin
5ce8fa8b10
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-11-10 14:13:54 +02:00
Aliaksandr Valialkin
2bcafbef25
vendor: make vendor-update
2022-11-10 13:46:33 +02:00
Aliaksandr Valialkin
881f22ca62
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-11-07 15:00:11 +02:00
Aliaksandr Valialkin
8332622037
vendor: update github.com/urfave/cli/v2 from v2.23.2 to v2.23.4
2022-11-07 14:58:35 +02:00
Aliaksandr Valialkin
38294e2f17
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-11-05 11:12:14 +02:00
Aliaksandr Valialkin
63d4cf661b
vendor: make vendor-update
2022-11-05 10:34:35 +02:00
Aliaksandr Valialkin
a3dc324b19
vendor: update github.com/urfave/cli/v2 from 2.20.3 to 2.23.0
2022-11-01 10:46:26 +02:00
Aliaksandr Valialkin
2d909f4979
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-29 02:58:19 +03:00
Aliaksandr Valialkin
6ac7b088b2
vendor: make vendor-update
2022-10-29 02:53:48 +03:00
Aliaksandr Valialkin
700eb5bb1d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-28 00:33:10 +03:00
Aliaksandr Valialkin
ad76a54c87
vendor: make vendor-update
2022-10-28 00:18:15 +03:00
Aliaksandr Valialkin
75e22ed3a4
vendor: make vendor-update
2022-10-27 20:21:13 +03:00
Aliaksandr Valialkin
fe0ab3840f
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-25 17:55:02 +03:00
Aliaksandr Valialkin
d9bbf24183
app/{vminsert,vmselect}/netstorage: allow calling Init()+MustStop() in a loop
...
Previously netstorage.MustStop() call didn't free up all the resources,
so the subsequent call to nestorage.Init() would panic.
This allows writing tests, which call nestorage.Init() + nestorage.MustStop() in a loop.
2022-10-25 17:47:17 +03:00
Aliaksandr Valialkin
6c7c0790a0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-24 16:32:43 +03:00
Aliaksandr Valialkin
692af2d17c
vendor: make vendor-update
2022-10-24 15:47:01 +03:00
Aliaksandr Valialkin
f105e2e8c3
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-18 20:55:52 +03:00
Aliaksandr Valialkin
b4f7243110
vendor: make vendor-update
2022-10-18 10:56:38 +03:00
Aliaksandr Valialkin
069401a304
all: log error when environment variables referred from -promscrape.config
are missing
...
This should prevent from using incorrect config files
2022-10-18 10:47:16 +03:00
Aliaksandr Valialkin
20414b3038
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-14 15:31:43 +03:00
Aliaksandr Valialkin
2b2c58ecf8
vendor: make vendor-update
2022-10-14 15:16:03 +03:00
Aliaksandr Valialkin
b7887c426b
vendor: make vendor-update
2022-10-10 22:03:45 +03:00
Aliaksandr Valialkin
897e9ef427
go.mod: go mod tidy
2022-10-07 01:23:52 +03:00
Aliaksandr Valialkin
fd1b8be2e5
go.mod: go mod tidy
2022-10-07 01:21:34 +03:00
Aliaksandr Valialkin
e2c4578751
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-10-07 01:15:41 +03:00
Aliaksandr Valialkin
0cea525456
vendor: make vendor-update
2022-10-07 01:01:21 +03:00
Zakhar Bessarab
262ce77e2d
lib/backup: add support of Azure Blob Storage ( #460 )
...
* lib/backup: add support of Azure Blob Storage
* lib/backup: add enterprise support of Azure Blob Storage
2022-10-06 00:32:46 +03:00
Aliaksandr Valialkin
366f04001b
vendor: make vendor-update
2022-10-01 17:20:11 +03:00
Zakhar Bessarab
87c77727e4
vmbackup: update AWS SDK to v2 ( #3174 )
...
* lib/backup/s3remote: update AWS SDK to v2
* Update lib/backup/s3remote/s3.go
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
* lib/backup/s3remote: refactor error handling
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-10-01 17:12:07 +03:00
Aliaksandr Valialkin
e69fb9f3cf
vendor: make vendor-update
2022-09-26 16:40:54 +03:00
Aliaksandr Valialkin
1a9cb85647
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-09-26 16:36:50 +03:00
Aliaksandr Valialkin
72c29d762e
docs/CHANGELOG.md: document f022296d96
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3147
2022-09-26 16:32:19 +03:00
Aliaksandr Valialkin
1bac96dfce
vendor: make vendor-update
2022-09-26 15:44:55 +03:00
Aliaksandr Valialkin
dc4b87621f
vendor: make vendor-update
2022-09-21 11:54:32 +03:00
Aliaksandr Valialkin
a80f0c9f42
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-09-21 11:32:46 +03:00
Dmytro Kozlov
6a794ec5d5
app/{vmctl,vmalert}: update progress bar library (make vendor-update) ( #3138 )
...
* app/{vmctl,vmalert}: update progress bar library (make vendor-update)
* app/{vmctl,vmalert}: make vendor-update
2022-09-21 11:08:33 +03:00
Aliaksandr Valialkin
4db1d24973
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-09-19 15:31:39 +03:00
Aliaksandr Valialkin
310d0caec2
vendor: make vendor-update
2022-09-19 15:12:22 +03:00
Aliaksandr Valialkin
2b55d167d7
app/vmagent/remotewrite: add benchmarks for comparing the performance of standard Snappy encoder with github.com/klauspost/compress/s2 encoder
...
The standard Snappy encoder from github.com/golang/snappy shows quite good performance number
for compressing the Prometheus remote_write proto messages according to the added benchmarks,
so there is no need in switching to github.com/klauspost/compress/s2 yet.
2022-09-19 14:28:09 +03:00
Aliaksandr Valialkin
1c9f5b3580
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-09-14 17:54:06 +03:00
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
Roman Khavronenko
efea51a9ee
bump Go version to 1.19.1 ( #3108 )
...
The reason is to cover vulnerability GO-2022-0969
Found in: net/http@go1.18.5
Fixed in: net/http@go1.19.1
More info: https://pkg.go.dev/vuln/GO-2022-0969
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-09-14 12:29:19 +02:00
Aliaksandr Valialkin
523ff25077
vendor: make vendor-update
2022-09-13 16:44:44 +03:00
Aliaksandr Valialkin
9682c23786
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-09-08 19:02:16 +03:00
Aliaksandr Valialkin
7c2fa1bc48
vendor: make vendor-update
2022-09-08 18:51:49 +03:00
Aliaksandr Valialkin
6111abd0e6
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-09-02 21:49:51 +03:00
Aliaksandr Valialkin
9a1ede0977
vendor: make vendor-update
2022-09-02 21:42:41 +03:00
Aliaksandr Valialkin
96160000e0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-30 12:40:52 +03:00
Aliaksandr Valialkin
6ba93bf2dc
vendor: make vendor-update
2022-08-30 09:45:26 +03:00
Aliaksandr Valialkin
3600c97ad7
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-21 19:17:23 +03:00
Aliaksandr Valialkin
278481f71d
vendor: make vendor-update
2022-08-21 19:06:28 +03:00
Aliaksandr Valialkin
bb154f8829
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-18 01:31:49 +03:00
Aliaksandr Valialkin
28a7a19a94
go.mod: update github.com/VictoriaMetrics/metrics from v1.22.1 to v1.22.2
2022-08-17 21:13:06 +03:00
Aliaksandr Valialkin
d2e293b5c9
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-15 01:43:51 +03:00
Aliaksandr Valialkin
308f29f674
vendor: make vendor-update
2022-08-15 00:53:41 +03:00
Aliaksandr Valialkin
e80ddbebd4
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-08 19:59:28 +03:00
Aliaksandr Valialkin
1a851b14c9
vendor: update github.com/VictoriaMetrics/metrics from v1.21.0 to v1.22.1
2022-08-08 17:18:42 +03:00
Aliaksandr Valialkin
2dbbf51ea9
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-07 22:49:37 +03:00
Aliaksandr Valialkin
ebd59e17df
vendor: make vendor-update
2022-08-07 22:38:01 +03:00
Aliaksandr Valialkin
b5b13e48a3
vendor: update github.com/VictoriaMetrics/metrics from v1.20.1 to v1.21.0
...
This adds the following push-related metrics when -pushmetrics.url is set:
- metrics_push_interval_seconds
- metrics_push_total
- metrics_push_errors_total
- metrics_push_bytes_pushed_total
- metrics_push_duration_seconds
- metrics_push_block_size_bytes
Updates https://github.com/VictoriaMetrics/metrics/issues/35
2022-08-04 18:15:50 +03:00
Aliaksandr Valialkin
549d430907
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-08-02 13:33:59 +03:00
Aliaksandr Valialkin
bf65709540
vendor: make vendor-update
2022-08-02 09:19:38 +03:00
Aliaksandr Valialkin
f148cffc8a
vendor: make vendor-update
2022-07-25 10:49:33 +03:00
Aliaksandr Valialkin
7afcc42454
all: push metrics to -pusmetrics.url in gzip-compressed form in order to reduce the needed network bandwidth
2022-07-25 10:42:26 +03:00
Aliaksandr Valialkin
69aef55ae7
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-07-21 21:21:04 +03:00
Aliaksandr Valialkin
2a78975447
vendor: make vendor-update
2022-07-21 21:10:25 +03:00
Aliaksandr Valialkin
4ce5875fa8
all: add ability to push internal metrics to remote storage system specified via -pushmetrics.url
2022-07-21 20:36:27 +03:00
Aliaksandr Valialkin
274145af2d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-07-21 20:23:41 +03:00
Aliaksandr Valialkin
46f803fa7a
all: add ability to push internal metrics to remote storage system specified via -pushmetrics.url
2022-07-21 19:49:52 +03:00
Aliaksandr Valialkin
87cdb58bc3
vendor: make vendor-update
2022-07-18 11:13:54 +03:00
Aliaksandr Valialkin
c83ff99e0d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-07-13 18:07:46 +03:00
Aliaksandr Valialkin
5f7b6bedce
vendor: make vendor-update
2022-07-13 16:43:53 +03:00
Aliaksandr Valialkin
4a0c9a1069
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-07-11 18:22:49 +03:00
Aliaksandr Valialkin
4b67231097
vendor: make vendor-update
2022-07-11 18:13:38 +03:00
Aliaksandr Valialkin
9cb8838b30
vendor: make vendor-update
2022-07-07 20:47:17 +03:00
Aliaksandr Valialkin
4e20ea4b59
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-07-04 12:17:00 +03:00
Aliaksandr Valialkin
611434ce81
vendor: make vendor-update
2022-07-04 12:00:27 +03:00
Aliaksandr Valialkin
44dfb2ec0d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-06-30 20:20:19 +03:00
Aliaksandr Valialkin
32ac6b5ed8
vendor: update github.com/VictoriaMetrics/metricsql from v0.44.0 to v0.44.1
2022-06-30 18:20:33 +03:00
Aliaksandr Valialkin
e7b4e657a1
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-06-28 20:22:11 +03:00
Aliaksandr Valialkin
eefa1e24f8
vendor: make vendor-update
2022-06-28 14:51:45 +03:00
Aliaksandr Valialkin
cd91c29243
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-06-28 13:26:58 +03:00
Aliaksandr Valialkin
d2bbbf147c
all: limit the maximum memory usage for regexp cache, which stores parsed regular expressions in MetricsQL queries
...
Previously the cache could store 10K unique regexps. When every regexp is huge (e.g. hundreds of kilobytes),
then the total cache size could grow to multiples of gigabytes. Now the cache size is limited by the total length
of all cached regexps. So huge regexps won't result in high memory usage for the cache.
2022-06-24 17:57:43 +03:00
Aliaksandr Valialkin
1b24afec36
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-06-20 17:42:27 +03:00
Aliaksandr Valialkin
418f40f7fa
vendor: make vendor-update
2022-06-20 14:30:23 +03:00
Aliaksandr Valialkin
f7b52b64a3
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-06-14 12:26:32 +03:00
Aliaksandr Valialkin
c7555ab635
vendor: make vendor-update
2022-06-13 10:02:21 +03:00
Aliaksandr Valialkin
7fc62feddc
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2022-06-09 13:33:07 +03:00