Aliaksandr Valialkin
4e2ea844ca
vendor: make vendor-update
2021-05-01 09:39:26 +03:00
Aliaksandr Valialkin
bceb8082f6
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-04-30 10:11:24 +03:00
Aliaksandr Valialkin
25b8d71df5
vendor: update github.com/klauspost/compress from v1.12.1 to v1.12.2
2021-04-29 10:12:50 +03:00
Aliaksandr Valialkin
276969500e
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-04-24 01:42:54 +03:00
Aliaksandr Valialkin
bf2439f962
vendor: make vendor-update
2021-04-24 01:34:07 +03:00
Aliaksandr Valialkin
030e3a63f2
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-04-21 11:00:07 +03:00
Aliaksandr Valialkin
8d244c5f7f
vendor: update github.com/klauspost/compress from v1.11.13 to v1.12.1
2021-04-14 14:20:56 +03:00
Aliaksandr Valialkin
3eadee6cb7
vendor: make vendor-update
2021-04-08 00:58:22 +03:00
Aliaksandr Valialkin
660c3c7251
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-04-08 00:54:19 +03:00
Nikolay
a4c6a3b3e1
adds socks5 support for fasthttp client ( #1178 )
...
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1177
Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
2021-04-04 01:29:54 +03:00
Aliaksandr Valialkin
569e58dcdf
vendor: make vendor-update
2021-04-02 22:20:17 +03:00
Aliaksandr Valialkin
11ded82e60
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-03-29 19:15:52 +03:00
Aliaksandr Valialkin
8fc8ef1aba
vendor: update github.com/klauspost/compress from v1.11.12 to v1.11.13
2021-03-26 13:57:01 +02:00
Aliaksandr Valialkin
558b390ebc
vendor: make vendor-update
2021-03-25 20:57:46 +02:00
Aliaksandr Valialkin
343f444e87
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-03-25 19:15:08 +02:00
Aliaksandr Valialkin
136fc6217c
vendor: make vendor-update
2021-03-25 17:56:10 +02:00
Aliaksandr Valialkin
648d11b8e0
vendor: update github.com/VictoriaMetrics/metrics from v1.17.0 to v1.17.1
2021-03-18 18:53:07 +02:00
Aliaksandr Valialkin
17d4a6e900
vendor: update github.com/VictoriaMetrics/metrics from v1.16.0 to v1.17.0
2021-03-17 23:23:04 +02:00
Aliaksandr Valialkin
904dababcc
vendor: update github.com/VictoriaMetrics/metrics from v1.15.3 to v1.16.0
...
This adds the following new metrics for each VictoriaMetrics app:
* process_resident_memory_anonymous_bytes - the RSS share for memory allocated by the process itself.
This share cannot be freed by the OS, so it must be taken into account by OOM killer.
* process_resident_memory_pagecache_bytes - the RSS share for page cache memory (aka memory-mapped files).
This share can be freed by the OS at any time, so it must be ignored by OOM killer.
2021-03-17 17:59:40 +02:00
Aliaksandr Valialkin
16884c20c0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-03-17 02:05:46 +02:00
Aliaksandr Valialkin
264d3432ac
vendor: make vendor-update
2021-03-16 19:08:36 +02:00
Aliaksandr Valialkin
645cf6746c
vendor: update github.com/VictoriaMetrics/metrics from v1.15.2 to v1.15.3
2021-03-16 12:15:50 +02:00
Aliaksandr Valialkin
7d44cdd8ce
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-03-15 22:44:24 +02:00
Aliaksandr Valialkin
48fb0d1c4b
vendor: update github.com/VictoriaMetrics/fasthttp from v1.0.13 to v1.0.14
2021-03-09 21:34:07 +02:00
Aliaksandr Valialkin
534944b671
vendor: make vendor-update
2021-03-09 12:01:55 +02:00
Aliaksandr Valialkin
5d2394ad9b
vendor: make vendor-update
2021-03-09 11:51:21 +02:00
Aliaksandr Valialkin
8582fba4b1
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-03-09 11:46:39 +02:00
Aliaksandr Valialkin
f6878eac36
vendor: update github.com/VictoriaMetrics/fasthttp from 1.0.12 to 1.0.13
...
This should fix a bug in vmagent with high CPU usage during failed scrapes with small `scrape_timeout`.
2021-03-09 11:45:02 +02:00
Aliaksandr Valialkin
a14053ffa0
app/vmselect/promql: add histogram_avg()
, histogram_stddev()
and histogram_stdvar()
functions to MetricsQL
2021-03-04 14:12:07 +02:00
Aliaksandr Valialkin
201b685b13
all: bump minimum supported Go version from 1.13 to 1.14
2021-03-03 15:57:13 +02:00
Aliaksandr Valialkin
90d6e94e5b
vendor: update github.com/VictoriaMetrics/fastcache from v1.5.7 to v1.5.8
2021-03-03 15:52:51 +02:00
Aliaksandr Valialkin
6197440bb9
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-03-02 21:46:03 +02:00
Aliaksandr Valialkin
d741794fab
vendor: make vendor-update
2021-03-02 21:37:57 +02:00
Aliaksandr Valialkin
d6a41b6ea2
vendor: update github.com/VictoriaMetrics/metrics from v1.15.1 to v1.15.2
...
This should fix an edge case panic when 1e-9 value is passed to Histogram.Update
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1096
2021-03-01 16:49:57 +02:00
Aliaksandr Valialkin
51bf577431
vendor: update github.com/VictoriaMetrics/metrics from v1.15.0 to v1.15.1
...
This can help with https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1096
2021-02-28 17:43:32 +02:00
Aliaksandr Valialkin
4281c5ed14
vendor: make vendor-update
2021-02-28 14:47:50 +02:00
Aliaksandr Valialkin
0ad887fd4d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-02-26 23:00:40 +02:00
Aliaksandr Valialkin
98854e5f2b
app/vmselect: add sign(q)
and clamp(q, min, max)
functions, which will be added in the upcoming Prometheus release
...
See https://twitter.com/roidelapluie/status/1363428376162295811
The `last_over_time(m[d])` function already exists in MetricsQL.
2021-02-24 17:24:56 +02:00
Aliaksandr Valialkin
fa03e0d210
app/vmselect/promql: add increase_pure()
function to MetricsQL
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/962
2021-02-22 19:14:15 +02:00
Aliaksandr Valialkin
901e12024d
vendor: update github.com/VictoriaMetrics/metrics from v1.14.0 to v1.15.0
...
The v1.15.0 exports the following additional metrics:
process_io_read_bytes_total - the number of bytes read via io syscalls such as read and pread
process_io_written_bytes_total - the number of bytes written via io syscalls such as write and pwrite
process_io_read_syscalls_total - the number of read syscalls such as read and pread
process_io_write_syscalls_total - the number of write syscalls such as write and pwrite
process_io_storage_read_bytes_total - the number of bytes read from storage layer
process_io_storage_written_bytes_total - the number of bytes written to storage layer
These metrics can be used for monitoring process io
2021-02-21 22:54:00 +02:00
Aliaksandr Valialkin
687eb4ab00
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-02-16 22:29:45 +02:00
Aliaksandr Valialkin
1a9a6b560f
vendor: make vendor-update
2021-02-16 22:24:52 +02:00
Aliaksandr Valialkin
4e39bf148c
vendor: update github.com/VictoriaMetrics/metrics from v1.13.1 to v1.14.0
...
The new version switches from log-linear histograms to log-based histograms,
which provide up to 3.6 times better accuracy.
2021-02-15 15:12:29 +02:00
Aliaksandr Valialkin
2e30202dc7
lib/flagutil: prevent from integer overflow when parsing duration
2021-02-15 15:12:29 +02:00
Aliaksandr Valialkin
d0c364d93d
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-02-15 01:45:39 +02:00
Aliaksandr Valialkin
3b146a9976
vendor: make vendor-update
2021-02-09 01:08:56 +02:00
Aliaksandr Valialkin
3f689561d5
vendor: update github.com/VictoriaMetrics/metrics from v1.13.0 to v1.13.1
2021-02-08 15:46:52 +02:00
Aliaksandr Valialkin
9fb38569eb
lib/httpserver: expose process_open_fds
and process_max_fds
metrics
...
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/402
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1037
2021-02-04 16:40:50 +02:00
Aliaksandr Valialkin
c13f1d99e0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-02-01 20:19:50 +02:00
Aliaksandr Valialkin
b39d5ef656
vendor: make vendor-update
2021-02-01 19:39:10 +02:00
Aliaksandr Valialkin
8164cd8932
docs/vmctl.md: update build instructions after the migration from github.com/VictoriaMetrics/vmctl to github.com/VictoriaMetrics/VictoriaMetrics/app/vmctl
2021-02-01 19:39:08 +02:00
Aliaksandr Valialkin
d5c180e680
app/vmctl: move vmctl code from github.com/VictoriaMetrics/vmctl
...
It is better developing vmctl tool in VictoriaMetrics repository, so it could be released
together with the rest of vmutils tools such as vmalert, vmagent, vmbackup, vmrestore and vmauth.
2021-02-01 01:10:20 +02:00
Aliaksandr Valialkin
b68264b4f5
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-01-22 12:10:57 +02:00
Aliaksandr Valialkin
0a45220b0a
vendor: update github.com/VictoriaMetrics/fasthttp from v1.0.11 to v1.0.12
2021-01-21 12:00:21 +02:00
Aliaksandr Valialkin
689cf88eb2
vendor: make vendor-update
2021-01-13 12:19:39 +02:00
Aliaksandr Valialkin
d0dfcb72b4
vendor: make vendor-update
2021-01-13 12:09:54 +02:00
Aliaksandr Valialkin
d72fc60108
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-01-13 11:41:15 +02:00
Aliaksandr Valialkin
acf1a2c72b
app/vmselect/promql: properly parse escaped multibyte utf8 code sequences in metric names and labels names
...
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/990
2021-01-13 10:59:42 +02:00
Aliaksandr Valialkin
1837f2f7d3
app/vmselect/promql: add tfirst_over_time(m[d])
and tlast_over_time(m[d])
MetricsQL functions for returning timestamps for the first and the last samples in m
over d
2021-01-12 16:12:12 +02:00
Aliaksandr Valialkin
9e10d5083e
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-01-11 13:04:58 +02:00
Aliaksandr Valialkin
24ffad74c1
all: use net.Dial
instead of fasthttp.Dial
, because fasthttp.Dial
limits the number of concurrent dials to 1000
2021-01-11 12:53:30 +02:00
Aliaksandr Valialkin
6740294ebb
vendor: update github.com/VictoriaMetrics/fasthttp
2021-01-11 12:53:30 +02:00
Aliaksandr Valialkin
30c2d75815
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2021-01-08 00:26:00 +02:00
Aliaksandr Valialkin
0477991b4d
vendor: make vendor-update
2021-01-07 23:55:02 +02:00
Aliaksandr Valialkin
0e80f3f45a
go.mod: add missing dependency on github.com/oklog/ulid
...
This is a follow up for a5583ddaff
2021-01-07 23:44:50 +02:00
Aliaksandr Valialkin
23c0fb1efc
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-12-24 17:21:19 +02:00
Aliaksandr Valialkin
1f2944a9d0
vendor: make vendor-update
2020-12-24 17:19:41 +02:00
Aliaksandr Valialkin
de89bcddae
vendor: upgrade github.com/klauspost/compress from v1.11.3 to v1.11.4
2020-12-21 08:56:02 +02:00
Aliaksandr Valialkin
fb006fc6c0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-12-21 08:44:04 +02:00
Aliaksandr Valialkin
e4f856e900
vendor: make vendor-update
2020-12-19 17:00:20 +02:00
Aliaksandr Valialkin
8593358965
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-12-19 16:43:03 +02:00
Aliaksandr Valialkin
88ac4dfc07
app/vmselect: properly parse negative combined offsets such as -1h2m3s
...
Previously such offsets were parsed as `-1h + 2m + 3s`. Now they are parsed as `-(1h + 2m + 3s)`.
2020-12-19 01:23:46 +02:00
Aliaksandr Valialkin
8aa2f448a8
Upgrade github.com/valyala/gozstd from v1.8.3 to v1.9.0
2020-12-17 15:13:04 +02:00
Aliaksandr Valialkin
142e6b6ecf
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-12-14 11:50:16 +02:00
Aliaksandr Valialkin
c4c90ab2b1
vendor: make vendor-update
2020-12-11 23:31:00 +02:00
Aliaksandr Valialkin
cb2342029e
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-12-05 13:24:28 +02:00
Aliaksandr Valialkin
0e46e8df8d
vendor: make vendor-update
2020-12-05 12:46:54 +02:00
Aliaksandr Valialkin
e2e8ef86d9
app/vmselect/promql: add count_eq_over_time(m[d], N)
and count_ne_over_time(m[d], N)
for calculating the number of samples in m
over d
that are equal / not equal to N
2020-12-05 12:30:46 +02:00
Aliaksandr Valialkin
66379cc69f
app/vmselect/promql: add label_uppercase(q, label1, ... labelN)
and label_lowercase(q, label1, ... labelN)
functions
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/936
2020-12-03 21:47:36 +02:00
Aliaksandr Valialkin
d0e1589ea9
vendor: make vendor-update
2020-12-03 20:16:30 +02:00
Aliaksandr Valialkin
7590b8477b
vendor: upgrade github.com/VictoriaMetrics/metricsql from v0.7.2 to v0.7.3
...
This fixes parsing of hex numbers in MetricsQL such as 0x3b
The bug has been detected at https://promlabs.com/promql-compliance-test-results/2020-12-01/victoriametrics/
2020-12-02 08:10:43 +02:00
Aliaksandr Valialkin
3dffc6099e
vendor: update github.com/VictoriaMetrics/fasthttp from v1.0.8 to v1.0.9
2020-11-26 13:27:12 +02:00
Aliaksandr Valialkin
1de1774de6
vendor: update github.com/VictoriaMetrics/fasthttp from v1.0.7 to v1.0.8
2020-11-26 12:13:03 +02:00
Aliaksandr Valialkin
afe6d2e736
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-11-25 23:03:44 +02:00
Aliaksandr Valialkin
ae04378424
lib/protoparser/prometheus: properly parse "infinity" values in OpenMetrics format
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/924
2020-11-24 19:03:38 +02:00
Aliaksandr Valialkin
f000a10cd0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-11-23 09:41:15 +02:00
Aliaksandr Valialkin
c03e4ef9d6
vendor: make vendor-update
2020-11-19 19:21:12 +02:00
Aliaksandr Valialkin
4aee6ef4c0
vendor: make vendor-update
2020-11-19 19:07:10 +02:00
Aliaksandr Valialkin
f4dfacd493
vendor: update prometheus dependency
2020-11-19 19:00:46 +02:00
Aliaksandr Valialkin
36b748dfc7
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-11-16 21:06:21 +02:00
Aliaksandr Valialkin
84b986b2fc
vendor: make vendor-update
2020-11-16 20:53:17 +02:00
Aliaksandr Valialkin
28ea993872
vendor: make vendor-update
2020-11-13 13:09:09 +02:00
Aliaksandr Valialkin
7a473798b7
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-11-07 01:05:52 +02:00
Aliaksandr Valialkin
9c0e2d2a6e
vendor: make vendor-update
2020-11-06 13:58:12 +02:00
Aliaksandr Valialkin
41c9565aa1
update github.com/prometheus/prometheus from v1.8.2-0.20200911110723-e83ef207b6c2 to v1.8.2-0.20201029103703-63be30dceed9
2020-11-05 02:55:46 +02:00
Aliaksandr Valialkin
61579680bb
vendor: make vendor-update
2020-11-02 22:03:38 +02:00
Aliaksandr Valialkin
1b389674c0
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-11-02 21:58:57 +02:00
Aliaksandr Valialkin
31918f60b2
vendor: make vendor-update
2020-11-02 02:41:02 +02:00
Aliaksandr Valialkin
8349140744
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-10-16 15:19:09 +03:00
Aliaksandr Valialkin
43aa737e23
vendor: make vendor-update
2020-10-16 15:06:27 +03:00
Aliaksandr Valialkin
96cdfcba50
vendor: update github.com/VictoriaMetrics/metricsql from v0.7.1 to v0.7.2
...
The new release of github.com/VictoriaMetrics/metricsql adds more optimizations for `foo{filters1} op bar{filters2}`:
* rollup_func(foo[d]) op bar{filters}
* transform_func(foo) op bar{filters}
* num_or_scalar op bar op baz{filters}
2020-10-16 12:53:36 +03:00
Aliaksandr Valialkin
e5ef3288dd
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-10-08 19:27:30 +03:00
Aliaksandr Valialkin
d8546e972a
vendor: make vendor-update
2020-10-08 11:52:01 +03:00
Aliaksandr Valialkin
c9fb217e4e
vendor: update github.com/VictoriaMetrics/metricsql from v0.7.0 to v0.7.1
2020-10-08 11:46:51 +03:00
Aliaksandr Valialkin
e7f2907138
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-10-07 21:40:45 +03:00
Aliaksandr Valialkin
e9f2e2cbc9
app/vmselect/promql: add missing label filters to binary operands before query execution
...
This implements the optimization described at https://utcc.utoronto.ca/~cks/space/blog/sysadmin/PrometheusLabelNonOptimization
See also https://github.com/cortexproject/cortex/issues/3253
2020-10-07 21:15:09 +03:00
Aliaksandr Valialkin
317ddb84b9
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-10-06 16:18:01 +03:00
Aliaksandr Valialkin
cc08648699
vendor: make vendor-update
2020-10-05 23:21:41 +03:00
Aliaksandr Valialkin
a44e0c6153
vendor: make vendor-update
2020-09-30 08:59:20 +03:00
Aliaksandr Valialkin
f85be226bb
vendor: make vendor-update
2020-09-30 08:58:52 +03:00
Aliaksandr Valialkin
8df5a3c5f6
Merge branch 'public-single-node' into pmm-6401-read-prometheus-data-files
2020-09-30 08:55:57 +03:00
Aliaksandr Valialkin
8d5df13c7c
vendor: make vendor-update
2020-09-28 21:59:58 +03:00
Aliaksandr Valialkin
a70df4bd83
PMM-6401 Initial implementaton for reading data from Prometheus files
2020-09-23 14:26:39 +03:00
Aliaksandr Valialkin
30c7269814
vendor: make vendor-update
2020-09-23 14:23:39 +03:00
Aliaksandr Valialkin
36eb5427eb
vendor: make vendor-update
2020-09-22 17:07:37 +03:00
Aliaksandr Valialkin
63d3c88c3b
vendor: update github.com/valyala/quicktemplate from v1.6.2 to v1.6.3
2020-09-18 13:10:48 +03:00
Aliaksandr Valialkin
74e3198281
vendor: udpate github.com/VictoriaMetrics/fasthttp from v1.0.5 to v1.0.7
2020-09-18 12:20:29 +03:00
Aliaksandr Valialkin
f2a449983d
vendor: make vendor-update
2020-09-17 01:43:19 +03:00
Aliaksandr Valialkin
d8183c3124
lib/protoparser: report more errors for incorrect timestamps and/or values
...
Previously certain errors in timestamps and/or values could be silently skipped,
which could lead to samples with zero values stored in the database.
Updates https://github.com/VictoriaMetrics/vmctl/issues/25
2020-09-16 02:14:18 +03:00
Aliaksandr Valialkin
9bc8484ab6
lib/protoparser/graphite: return error when value or timestamp cannot be properly parsed
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/99
2020-09-16 01:35:12 +03:00
Aliaksandr Valialkin
26fa94ba8d
vendor: update github.com/valyala/fastjson from v1.5.4 to v1.5.5
...
This should properly parse `+Inf` values when importing JSON lines via `/api/v1/import`
Updates https://github.com/VictoriaMetrics/vmctl/issues/25
2020-09-16 00:07:56 +03:00
Aliaksandr Valialkin
0e533d1a9c
app/vmselect/promql: support composite durations like Prometheus 2.21 does
...
The following durations are supported now: `1h5m35s` or `1s543ms`
See https://github.com/prometheus/prometheus/releases/tag/v2.21.0
and https://github.com/prometheus/prometheus/pull/7713
2020-09-11 23:39:13 +03:00
Aliaksandr Valialkin
3eccecd5fd
vendor: make vendor-update
2020-09-10 09:49:13 +03:00
Aliaksandr Valialkin
9d61d24142
vendor: make vendor-update
2020-09-08 15:20:01 +03:00
Aliaksandr Valialkin
e1c2757f70
vendor: update github.com/VictoriaMetrics/metricsql from v0.4.3 to v0.5.1
...
The new version of the package supports binary operations on string literals:
* "foo" + "bar" => "foobar"
* "foo" == "bar" => NaN
* "foo" == "foo" => 1
* "foo" >bool "bar" => 1
* "foo" < "bar" => NaN
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/717
2020-09-03 16:33:31 +03:00
Aliaksandr Valialkin
f4e7e5fb90
app/vmselect/promql: add count_le_over_time(m[d], le)
and count_gt_over_time(m[d], gt)
functions
...
These functions returns the number of raw samples that don't exceed `le` or are bigger than `gt`.
These functions are complement to already existing `share_le_over_time(m[d], le)` and `share_gt_over_time(m[d], gt)`.
2020-09-03 15:29:10 +03:00
Aliaksandr Valialkin
d5b985f086
vendor: update github.com/VictoriaMetrics/metricsql from v0.4.1 to v0.4.2
...
The new version of this package properly supports escaped identifiers.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/743
2020-09-03 15:01:42 +03:00
Aliaksandr Valialkin
821df709d3
vendor: make vendor-update
2020-09-02 15:05:16 +03:00
Aliaksandr Valialkin
7615a3ab8d
vendor: upgrade github.com/valyala/gozstd from v1.7.1 to v1.8.3
2020-08-15 15:11:56 +03:00
Aliaksandr Valialkin
7be9bedaf9
vendor: downgrade github.com/valyala/gozstd from v1.8.1 to v1.7.1 until https://github.com/facebook/zstd/issues/2222 is fixed
2020-08-15 14:46:32 +03:00
Aliaksandr Valialkin
528e25bdde
vendor: update github.com/valyala/gozstd from v1.7.0 to v1.8.1
2020-08-15 13:46:43 +03:00
Aliaksandr Valialkin
d1ad3adcbe
vendor: make vendor-update
2020-08-14 02:29:02 +03:00
Aliaksandr Valialkin
42960feff4
vendor: update github.com/VictoriaMetrics/fasthttp from v1.0.4 to v1.0.5
2020-08-14 02:19:36 +03:00
Aliaksandr Valialkin
07246bc31c
vendor: update github.com/klauspost/compress from v1.10.10 to v1.10.11
2020-08-14 02:17:07 +03:00
Aliaksandr Valialkin
c402265e88
all: support %{ENV_VAR}
placeholders in yaml configs in all the vm* components
...
Such placeholders are substituted by the corresponding environment variable values.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/583
2020-08-13 17:15:25 +03:00
Aliaksandr Valialkin
2791008e19
vendor: make vendor-update
2020-08-09 15:13:55 +03:00
Aliaksandr Valialkin
807c2b076c
vendor: update github.com/VictoriaMetrics/metrics from v1.12.2 to v1.12.3
2020-08-07 13:02:51 +03:00
Aliaksandr Valialkin
716754fae6
app/vmselect/promql: properly handle -n^m
like Prometheus does
...
`-n^m` must be handled as `-(n^m)` instead of `(-n)^m`.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/675
2020-08-07 07:42:18 +03:00
Aliaksandr Valialkin
68e4f40a72
app/vmselect: properly handle PromQL queries like scalar1 < metric < scalar2
like Prometheus does
...
This fixes some cases from https://promlabs.com/promql-compliance-test-results-victoriametrics/
2020-08-06 23:21:03 +03:00
Aliaksandr Valialkin
ada2ae69ec
vendor: update github.com/VictoriaMetrics/metricsql from v0.2.10 to v0.3.0
...
This adds support for special integers in MetricsQL that start from 0x, 0b, 0o.
This improves compatibility with PromQL - see https://promlabs.com/promql-compliance-test-results-victoriametrics/
2020-08-06 21:45:21 +03:00
Aliaksandr Valialkin
aaa497ff0b
Perform conversion from string to []byte according to rule #6 at https://golang.org/pkg/unsafe/#Pointer
2020-08-05 11:55:58 +03:00
Aliaksandr Valialkin
ef94333808
vendor: make vendor-update
2020-08-05 11:10:10 +03:00
Aliaksandr Valialkin
e6eee2bebf
app/vmselect/promql: add zscore-related functions: zscore_over_time(m[d])
and zscore(q) by (...)
2020-08-03 21:52:18 +03:00
Aliaksandr Valialkin
44a86e1be3
vendor: update github.com/valyala/quicktemplate from v1.5.2 to v1.6.0
2020-07-30 23:39:40 +03:00
Aliaksandr Valialkin
68716488db
vendor: update github.com/valyala/quicktemplate from v1.5.1 to v1.5.2
2020-07-29 18:20:11 +03:00
Aliaksandr Valialkin
1ca0c8a29b
vendor: make vendor-update
2020-07-29 09:36:08 +03:00
Aliaksandr Valialkin
d81d586b86
vendor: update github.com/VictoriaMetrics/metrics from v1.12.1 to v1.12.2
2020-07-28 22:02:29 +03:00
Aliaksandr Valialkin
0516e3f330
vendor: update github.com/VictoriaMetrics/metrics from v1.12.0 to v1.12.1
2020-07-28 00:20:43 +03:00
Aliaksandr Valialkin
994fa2f3bf
app/vmselect/promql: add buckets_limit(k, buckets)
function, which limits the number of buckets per time series to k
...
This function works with both Prometheus-style and VictoriaMetrics-style buckets.
The function removes buckets with the lowest values in order to reserve the highest precision.
The function is useful for building heatmaps in Grafana from too big number of buckets.
2020-07-24 16:13:53 +03:00
Aliaksandr Valialkin
3e557c9861
app/vmselect/promql: add rate_over_sum(m[d])
function to MetricsQL, which returns rate over sum of m
values over d
duration
...
Something like `sum_over_time(m[d]) / d`, but more accurate.
2020-07-24 01:17:42 +03:00
Aliaksandr Valialkin
62e76ca805
vendor: make vendor-update
2020-07-22 16:54:44 +03:00
Aliaksandr Valialkin
004d2924e2
vendor: update github.com/VictoriaMetrics/metrics from v1.11.3 to v1.12.0
2020-07-20 16:56:22 +03:00
Aliaksandr Valialkin
ecb1b2564a
app/vmselect/promql: add mode()
aggregate function
2020-07-20 15:31:20 +03:00
Aliaksandr Valialkin
1c641037e8
app/vmselect/promql: add mode_over_time(m[d])
function
...
See https://en.wikipedia.org/wiki/Mode_(statistics) and https://stackoverflow.com/questions/61134078/promql-query-to-return-the-value-from-a-range-vector-which-occurs-maximum-no-of
2020-07-17 18:28:45 +03:00
Aliaksandr Valialkin
aa5d88055d
app/vmselect/promql: add group()
aggregate function to MetricsQL
...
This function has been added in Prometheus 2.20. See https://github.com/prometheus/prometheus/pull/7480
2020-07-17 15:17:55 +03:00
Aliaksandr Valialkin
7398e5701b
vendor: make vendor-update
2020-07-14 20:31:42 +03:00
Aliaksandr Valialkin
e5b9f47623
vendor: update github.com/valyala/quicktemplate from v1.5.0 to v1.5.1
...
This should fix incorrect encoding for json strings with char codes below 0x20
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/613
2020-07-10 12:59:15 +03:00
Aliaksandr Valialkin
47c7ea5c60
vendor: make vendor-update
2020-07-08 19:25:38 +03:00
Aliaksandr Valialkin
742da690f4
app/vmselect: add /api/v1/status/active_queries
page with the list of currently running queries
...
This is a follow-up for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/598
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/575
2020-07-08 18:55:38 +03:00
DexterZhang
99f54e44ff
feat(vmselect): add current running query list, add ability for getting the running query info and killing running query for master branch ( #598 )
2020-07-08 18:52:55 +03:00
Aliaksandr Valialkin
5d3db3ff7c
app/vmselect: add interpolate
function for filling gaps with linearly interpolated values
...
See https://stackoverflow.com/q/62565021/274937 for details
2020-07-02 14:54:21 +03:00
Aliaksandr Valialkin
9a2ba5b6d1
vendor: make vendor-update
2020-07-01 01:04:58 +03:00
Aliaksandr Valialkin
423825695f
vendor: make vendor-update
2020-06-25 23:45:14 +03:00
Aliaksandr Valialkin
5dc0bf6d3d
vendor: update github.com/valyala/fastjson from v1.5.1 to v1.5.2
2020-06-25 23:35:03 +03:00
Aliaksandr Valialkin
a13cd60c6f
vendor: update github.com/klauspost/compress from v1.10.9 to v1.10.10
2020-06-23 13:48:51 +03:00
Aliaksandr Valialkin
57acbf5491
vendor: make vendor-update
2020-06-19 02:39:53 +03:00
Aliaksandr Valialkin
0bba630f55
vendor: make vendor-update
2020-06-06 00:01:19 +03:00
Aliaksandr Valialkin
2382053d32
vendor: update github.com/klauspost/compress from v1.10.7 to v1.10.8
2020-06-05 23:51:35 +03:00
Aliaksandr Valialkin
f2b04f2efe
vendor: update github.com/klauspost/compress from v1.10.6 to v1.10.7
2020-06-03 00:10:44 +03:00
Aliaksandr Valialkin
7e2669f733
vendor: make vendor-update
2020-05-27 18:40:53 +03:00
Aliaksandr Valialkin
d7291487be
vendor: make vendor-update
2020-05-25 00:06:57 +03:00
Aliaksandr Valialkin
dbd8beccfa
app/vmselect/promql: add ascent_over_time(m[d])
and descent_over_time(m[d])
functions
...
These functions could be useful in GPS tracking apps for calculating the summary for height gain/loss
over the given duration `d`.
2020-05-21 12:07:48 +03:00
Aliaksandr Valialkin
74a2943030
vendor: update github.com/VictoriaMetrics/metrics from v1.11.2 to v1.11.3
2020-05-20 02:55:11 +03:00
Aliaksandr Valialkin
a441cdd1d9
app/vmselect/promql: add outliersk(N, m)
aggregate function for anomaly detection across groups of similar time series
2020-05-19 13:52:36 +03:00
Aliaksandr Valialkin
c56b66210f
vendor: make vendor-update
2020-05-15 15:02:10 +03:00
Aliaksandr Valialkin
cc311e20fe
app/vmselect/promql: add any(x) by (y)
aggregate function, which returns any time series from q
for each group y
2020-05-12 19:45:56 +03:00
Aliaksandr Valialkin
574289c3fb
app/vmselect/promql: support for sum(x) by (y) limit N
syntax in order to limit the number of output time series after aggregation
2020-05-12 19:45:54 +03:00
Aliaksandr Valialkin
18834a9191
vendor: make vendor-update
2020-05-12 14:25:35 +03:00
Aliaksandr Valialkin
8c77faec96
make vendor update
2020-05-05 00:54:38 +03:00
Aliaksandr Valialkin
d17381037e
vendor: update github.com/valyala/quicktemplate from v1.4.1 to v1.5.0
2020-05-04 01:36:41 +03:00
Aliaksandr Valialkin
43c39dc36c
vendor: use github.com/VictoriaMetrics/fasthttp instead of github.com/fasthttp/fasthttp
...
The upstream fasthttp may contain issues like 996610f021
,
plus a code that isn't used by VictoriaMetrics. So let's use a private copy under our control instead.
2020-04-29 17:33:34 +03:00
Aliaksandr Valialkin
e3cc329d85
vendor: downgrade github.com/valyala/fasthttp from v1.12.0 to v0.1.0
...
The v0.1.0 points to the last verified changes made by me.
I'm afraid that releases after v0.1.0 may contain completely broken changes like
996610f021
2020-04-29 01:09:02 +03:00
Aliaksandr Valialkin
4e4f57b121
lib/metricsql: move it to a separate repository - github.com/VictoriaMetrics/metrics
2020-04-28 15:28:22 +03:00
Aliaksandr Valialkin
9ef5935552
lib/promscrape: initial implementation for gce_sd_configs
aga Prometheus-compatible service discovery for Google Compute Engine
2020-04-24 17:51:22 +03:00
Aliaksandr Valialkin
e48822942d
vendor: make vendor-update
2020-04-24 15:27:45 +03:00
Aliaksandr Valialkin
a9b83bf512
vendor: update google.golang.org/api from v0.21.0 to v0.22.0
2020-04-23 14:30:46 +03:00
Aliaksandr Valialkin
a87ca3bdf0
vendor: update github.com/aws/aws-sdk-go from v1.30.8 to v1.30.12
2020-04-23 12:36:03 +03:00
Aliaksandr Valialkin
01e33be34a
vendor: update github.com/valyala/fastjson from v1.5.0 to v1.5.1
2020-04-21 00:03:56 +03:00
Aliaksandr Valialkin
78ff5f2aa5
vendor: update github.com/valyala/gozstd from v1.6.4 to v1.7.0
2020-04-20 23:03:40 +03:00
Aliaksandr Valialkin
43bbffebb3
vendor: make vendor-update
2020-04-17 13:24:08 +03:00
Aliaksandr Valialkin
a59a7bcc5e
vendor: make vendor-update
2020-04-15 14:52:24 +03:00
Aliaksandr Valialkin
830d5fb1e0
vendor: make vendor-update
2020-04-10 18:40:21 +03:00
Aliaksandr Valialkin
66d8086a5e
vendor: update github.com/klauspost/compress from v1.10.3 to v1.10.4
2020-04-10 18:39:19 +03:00
Aliaksandr Valialkin
b41ee5f27d
vendor: make vendor-update
2020-03-30 15:06:35 +03:00
Aliaksandr Valialkin
0f2dd77a76
go.mod: update the minimum required Go version from go1.12 to go1.13
2020-03-30 14:56:57 +03:00
Aliaksandr Valialkin
8d7f0aa632
vendor: make vendor-update
2020-03-27 21:23:30 +02:00
Aliaksandr Valialkin
69f1470692
vendor: update github.com/VictoriaMetrics/metrics from v1.11.0 to v1.11.2
...
This fixes data race in Histogram
2020-03-13 12:39:57 +02:00
Aliaksandr Valialkin
92d67e2592
vendor: update google.golang.org/genproto from fc8f55426688 to da6875a35672
2020-03-12 18:11:33 +02:00
Aliaksandr Valialkin
8a853778d7
vendor: update golang.org/x/tools from 26f6a1b6802d to 5e2df02acb1e
2020-03-12 18:07:52 +02:00
Aliaksandr Valialkin
8d75a5dbd0
vendor: update github.com/aws/aws-sdk-go from v1.29.10 to v1.29.22
2020-03-12 17:54:58 +02:00