Aliaksandr Valialkin
5cb5d91ba4
deployment/docker: update base docker image from 3.17.3 to 3.18.0
...
See https://www.alpinelinux.org/posts/Alpine-3.18.0-released.html
2023-05-12 17:34:27 -07:00
Aliaksandr Valialkin
aa591307ca
all: update Go builder from Go1.20.3 to Go1.20.4
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.20.4+label%3ACherryPickApproved
2023-05-09 22:36:40 -07:00
Zakhar Bessarab
2ca92aaa34
lib/httpserver: add handler to serve /robots.txt
and deny search indexing ( #4143 )
...
This handler will instruct search engines that indexing is not allowed for the content exposed to the internet. This should help to address issues like #4128 when instances are exposed to the internet without authentication.
2023-05-08 09:53:46 -07:00
Aliaksandr Valialkin
eef12514fa
docs/CHANGELOG.md: cut v1.79.12
2023-04-06 01:14:29 -07:00
Aliaksandr Valialkin
d95307ce4c
all: update Go builder from Go1.20.2 to Go1.20.3
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.20.3+label%3ACherryPickApproved
2023-04-05 13:43:55 -07:00
Dmytro Kozlov
4c5cc89007
lib/promscrape: fix the problem with scrape work duplicates when file_sd_config can't be read ( #4027 )
...
* lib/promscrape: fix the problem with scrape work duplicates when file_sd_config can't be read
* lib/promscrape: clarified comment
* lib/promscrape: made better approach to handle a problem with growing []*ScrapeWork on each error when loading config
* lib/promscrape: added CHANGELOG.md
* Update docs/CHANGELOG.md
---------
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-04-02 21:18:41 -07:00
Roman Khavronenko
05dfcc3947
lib/storage: check for free disk space before opening tables ( #4035 )
...
* lib/storage: check for free disk space before opening tables
We check for free disk space before call to `openTable`,
so `Storage` can be set to ReadOnly before mergeWorkers start.
Before the change, there was a chance that merges will start
even if Storage has to start in ReadOnly mode because of
`-storage.minFreeDiskSpaceBytes` limit.
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4023
Signed-off-by: hagen1778 <roman@victoriametrics.com>
* lib/storage: chore
Signed-off-by: hagen1778 <roman@victoriametrics.com>
* Update lib/storage/storage.go
---------
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-04-01 00:33:53 -07:00
Aliaksandr Valialkin
d64858673d
deployment/docker: update base Docker image from Alpine 3.17.2 to Alpine 3.17.3
...
This fixes security issues from https://alpinelinux.org/posts/Alpine-3.17.3-released.html
This is a follow-up for 59c350d0d2
2023-03-31 22:51:12 -07:00
Zakhar Bessarab
0e042a835e
lib/fs: verify response code when reading configuration over HTTP ( #4036 )
...
Verifying status code helps to avoid misleading errors caused by attempt to parse unsuccessful response.
Related issue: #4034
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2023-03-31 22:38:43 -07:00
Aliaksandr Valialkin
1ca79bae1a
docs/CHANGELOG.md: cut v1.79.11
2023-03-12 20:10:20 -07:00
Aliaksandr Valialkin
0ddde652e6
app/vmselect/promql: prevent from SIGBUS crash on architecures, which deny unaligned access to 8-byte words (e.g. ARM)
...
Thanks to @oliverpool for nailing down the root cause of the issue and for the initial attempt to fix it
at https://github.com/VictoriaMetrics/VictoriaMetrics/pull/3927
2023-03-12 17:02:46 -07:00
Aliaksandr Valialkin
12f4703e20
docs/CHANGELOG.md: document 113a89904d
2023-03-12 03:03:07 -07:00
Roman Khavronenko
bec42ac975
security: bump go version to 1.20.2 ( #3935 )
...
upgrade Go builder from Go1.20.1 to Go1.20.2
See the list of issues addressed in Go1.20.2 here (https://github.com/golang/go/issues?q=milestone%3AGo1.20.2+label%3ACherryPickApproved ).
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-03-12 01:42:35 -08:00
Aliaksandr Valialkin
9ddbc3727e
docs/CHANGELOG.md: document 927d9da270
2023-03-12 01:32:08 -08:00
Aliaksandr Valialkin
8b50431c1a
docs/CHANGELOG.md: cut v1.79.10
2023-02-27 15:57:22 -08:00
Aliaksandr Valialkin
ba92ea96da
docs/CHANGELOG.md: document the bugfix from 80e34e9c5d
2023-02-27 15:46:59 -08:00
Aliaksandr Valialkin
32cdfec010
docs/CHANGELOG.md: add missing message about LTS release for v1.79.9
2023-02-24 15:08:02 -08:00
Aliaksandr Valialkin
ad2fcf3bb6
docs/CHANGELOG.md: cut v1.79.9
2023-02-24 13:57:02 -08:00
Aliaksandr Valialkin
a9e23cdf80
all: update Go builder from Go1.20.0 to Go1.20.1
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.20.1+label%3ACherryPickApproved
2023-02-14 23:11:04 -08:00
Aliaksandr Valialkin
0e1d5a72e4
all: update alpine base docker image from 1.17.1 to 1.17.2
...
See https://alpinelinux.org/posts/Alpine-3.17.2-released.html
2023-02-14 22:57:01 -08:00
Aliaksandr Valialkin
d69e2153d9
docs/CHANGELOG.md: improve the docs for 8ea02eaa8e
2023-02-14 22:54:50 -08:00
Aliaksandr Valialkin
cdc7ead8f6
docs/CHANGELOG.md: cut v1.79.8
2023-02-03 18:45:36 -08:00
Zakhar Bessarab
1a8f6d98c7
fix: vmselect multi-level setup panic ( #3738 )
...
* app/vmselect/netstorage: fix panic for multi-level cluster setup when `replicationFactor` was set and request contained `trace` parameter (#3734 )
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
* app/vmselect/netstorage: use correct context for retry
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
---------
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
2023-02-03 18:40:58 -08:00
Aliaksandr Valialkin
6681a64080
docs/CHANGELOG.md: make the description for the bugfix from 465a285324
more reader-friendly
2023-01-27 15:07:15 -08:00
Nikolay
59a570f5b9
lib/storage: properly release parts inMerge lock ( #3711 )
...
if storage doesn't have enough disk space, finalDedupWatcher holds inMerge lock for all parts and never release it until storage restart
2023-01-27 15:07:14 -08:00
Roman Khavronenko
b36cc8c7e9
discover/ec2: follow-up after e2b4ab8384
( #3703 )
...
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-01-27 15:02:54 -08:00
Zakhar Bessarab
0b2f6d0d89
lib/promscrape/discovery/dockerswarm: fix discovery filters being applied to all objects ( #3632 )
...
* lib/promscrape/discovery/dockerswarm: fix discovery filters being applied to all objects
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
* Update docs/CHANGELOG.md
Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-27 14:56:37 -08:00
Aliaksandr Valialkin
fc28543e30
docs/CHANGELOG.md: update the description of the change at 20f28eb9d6
2023-01-27 14:52:53 -08:00
Nikolay
f3ae7328a4
/lib/promscrape: use correct err logger for scrape unmarshalling ( #3645 )
...
/lib/promscrape: use correct err logger for scrape unmarshalling
It correctly suppresses scrape errors and adds correct context for err msg
2023-01-27 14:52:51 -08:00
Aliaksandr Valialkin
9e686ce316
vendor: update github.com/VictoriaMetrics/metricsql from v0.51.1 to v0.51.2
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3664
2023-01-27 14:33:07 -08:00
Aliaksandr Valialkin
0463b130eb
docs/CHANGELOG.md: add a note that the 1.79.7 is LTS release
2023-01-10 21:19:58 -08:00
Aliaksandr Valialkin
e83f94e15a
docs/CHANGELOG.md: cut v1.79.7
2023-01-10 20:06:34 -08:00
Aliaksandr Valialkin
6a8042d89d
vendor: update github.com/valyala/fastjson/fastfloat from v1.6.3 to v1.6.4
...
This should properly parse floating-point numbers with missing integer or fractional parts.
For example, 123. or .123
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3544
2023-01-10 19:48:33 -08:00
Aliaksandr Valialkin
97bbb07e87
vendor: update github.com/VictoriaMetrics/metricsql from v0.50.0 to v0.51.0
...
Updates https://github.com/VictoriaMetrics/metricsql/pull/7
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3589
2023-01-10 19:46:16 -08:00
Zakhar Bessarab
5af891ed92
lib/promscrape/discovery/dockerswarm: fix query encoding of filters ( #3586 )
...
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-10 19:41:18 -08:00
Aliaksandr Valialkin
a211067f06
lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures
...
This fixes handling of values bigger than 2GiB for the following command-line flags:
- -storage.minFreeDiskSpaceBytes
- -remoteWrite.maxDiskUsagePerURL
2023-01-10 19:36:23 -08:00
Aliaksandr Valialkin
fe1406c839
docs/CHANGELOG.md: consistently use YYYY-MM-DD format for release dates
...
The previously used DD-MM-YYYY format could be confused with the MM-DD-YYYY format.
The YYYY-MM-DD format reduces this confusion.
2022-12-20 12:51:01 -08:00
Aliaksandr Valialkin
c448652bab
docs/CHANGELOG.md: document the change at 547f07463b29c09c62c9af35eac9cee6764b3286
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2612
2022-12-20 12:46:22 -08:00
Aliaksandr Valialkin
f4fcf3b572
lib/protoparser/datadog: do not re-use previously parsed field values if they are missing in the currently parsed message
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3432
2022-12-20 12:41:19 -08:00
Aliaksandr Valialkin
715444c034
docs/CHANGELOG.md: add a note to v1.79.6 that the v1.79.x is a line of LTS releases
2022-12-11 01:50:23 -08:00
Aliaksandr Valialkin
df9f71a7a5
docs/CHANGELOG.md: cut v1.79.6
2022-12-11 00:34:25 -08:00
Aliaksandr Valialkin
a88bcdee24
all: update Go builder from v1.19.3 to v1.19.4
...
See https://github.com/golang/go/issues?q=milestone%3AGo1.19.4+label%3ACherryPickApproved
2022-12-11 00:23:32 -08:00
Aliaksandr Valialkin
f287388ff3
docs/CHANGELOG.md: document the bugfix at 05b42601c3
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3247
2022-12-10 21:34:45 -08:00
Aliaksandr Valialkin
597901086f
docs/CHANGELOG.md: consistently add -
prefix in front of command-line flags
...
This is a follow-up for bcba5d2a78
2022-12-10 21:27:03 -08:00
Roman Khavronenko
b1c6117a51
vmalert: fix replay step param ( #3428 )
...
The recent change in modifying default value
of `datasource.queryStep` flag resulted in situation
where replay mode was always running queries with
step=`datasource.queryStep`. When it should always
use rule's evaluation interval.
The fix is related not to replay mode only, but
for all Range requests. Now step param is set
individually for each mode.
Signed-off-by: hagen1778 <roman@victoriametrics.com>
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-12-10 21:27:01 -08:00
Roman Khavronenko
8df45575b5
vmalert: correctly return error for RW failures ( #3452 )
...
* vmalert: correctly return error for RW failures
By mistake, in 0989649ad0
the error
for remote write failures weren't return to user.
This change fixes it.
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-12-10 21:22:33 -08:00
Aliaksandr Valialkin
aa31cc85f5
app/vmselect/promql: properly return an empty result from limit_offset() if offset exceeds the number of inner time series
...
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3312
2022-12-10 21:17:54 -08:00
Aliaksandr Valialkin
4df78e8814
lib/promscrape/discovery/gce: do not pass filter arg when discovering zones
...
The filter arg isn't supported by zones API in GCE.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3202
2022-12-10 21:14:42 -08:00
Aliaksandr Valialkin
45c2651678
docs/CHANGELOG.md: added missing note about LTS release for v1.79.5
2022-11-11 02:07:06 +02:00
Aliaksandr Valialkin
8f2b8ce786
docs/CHANGELOG.md: cut v1.79.5
2022-11-10 13:56:02 +02:00