From 0d03855787d526e51980e5935d9a59c83f92f143 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Edstr=C3=B6m?= <108799+Legogris@users.noreply.github.com> Date: Thu, 14 Jan 2021 00:31:08 +0900 Subject: [PATCH 01/11] Arch consistent filenames (#1015) * Include individual binary checksums for vmutils * Consistent archive/binary artefacts between arm64/amd64 for vmutils * architecture in arhcive, checksums * not in binaries --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index cd02309f8..cb26656a3 100644 --- a/Makefile +++ b/Makefile @@ -74,8 +74,9 @@ release-vmutils: \ vmauth-prod \ vmbackup-prod \ vmrestore-prod - cd bin && tar czf vmutils-$(PKG_TAG).tar.gz vmagent-prod vmalert-prod vmauth-prod vmbackup-prod vmrestore-prod && \ - sha256sum vmutils-$(PKG_TAG).tar.gz > vmutils-$(PKG_TAG)_checksums.txt + cd bin && \ + tar -czf vmutils-amd64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-prod && \ + sha256sum vmutils-amd64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-prod > vmutils-$(PKG_TAG)_checksums.txt release-vmutils-arm64: \ vmagent-arm64-prod \ @@ -83,9 +84,9 @@ release-vmutils-arm64: \ vmauth-arm64-prod \ vmbackup-arm64-prod \ vmrestore-arm64-prod - cd bin && tar czf vmutils-arm64-$(PKG_TAG).tar.gz vmagent-arm64-prod vmalert-arm64-prod vmauth-arm64-prod vmbackup-arm64-prod vmrestore-arm64-prod && \ - sha256sum vmutils-arm64-$(PKG_TAG).tar.gz > vmutils-arm64-$(PKG_TAG)_checksums.txt - + cd bin && \ + tar --transform="flags=r;s|-arm64||" -czf vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod && \ + sha256sum vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod | sed s/arm64-prod/prod/ > vmutils-arm64-$(PKG_TAG)_checksums.txt pprof-cpu: go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE) From 689d769b4d9deaac24b8166a807d09ff5edbfedd Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 13 Jan 2021 18:02:28 +0200 Subject: [PATCH 02/11] Makefile: release vmutils for amd64 and arm64 Follow-up for 0d03855787d526e51980e5935d9a59c83f92f143 --- Makefile | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index cb26656a3..968b7df79 100644 --- a/Makefile +++ b/Makefile @@ -69,24 +69,35 @@ release-victoria-metrics: victoria-metrics-prod sha256sum victoria-metrics-$(PKG_TAG).tar.gz > victoria-metrics-$(PKG_TAG)_checksums.txt release-vmutils: \ - vmagent-prod \ - vmalert-prod \ - vmauth-prod \ - vmbackup-prod \ - vmrestore-prod - cd bin && \ - tar -czf vmutils-amd64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-prod && \ - sha256sum vmutils-amd64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-prod > vmutils-$(PKG_TAG)_checksums.txt + release-vmutils-amd64 \ + release-vmutils-arm64 -release-vmutils-arm64: \ - vmagent-arm64-prod \ - vmalert-arm64-prod \ - vmauth-arm64-prod \ - vmbackup-arm64-prod \ - vmrestore-arm64-prod +release-vmutils-amd64: + GOARCH=amd64 $(MAKE) release-vmutils-generic + +release-vmutils-arm64: + GOARCH=arm64 $(MAKE) release-vmutils-generic + +release-vmutils-generic: \ + vmagent-$(GOARCH)-prod \ + vmalert-$(GOARCH)-prod \ + vmauth-$(GOARCH)-prod \ + vmbackup-$(GOARCH)-prod \ + vmrestore-$(GOARCH)-prod cd bin && \ - tar --transform="flags=r;s|-arm64||" -czf vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod && \ - sha256sum vmutils-arm64-$(PKG_TAG).tar.gz vm{agent,alert,auth,backup,restore}-arm64-prod | sed s/arm64-prod/prod/ > vmutils-arm64-$(PKG_TAG)_checksums.txt + tar --transform="flags=r;s|-$(GOARCH)||" -czf vmutils-$(GOARCH)-$(PKG_TAG).tar.gz \ + vmagent-$(GOARCH)-prod \ + vmalert-$(GOARCH)-prod \ + vmauth-$(GOARCH)-prod \ + vmbackup-$(GOARCH)-prod \ + vmrestore-$(GOARCH)-prod \ + && sha256sum vmutils-$(GOARCH)-$(PKG_TAG).tar.gz \ + vmagent-$(GOARCH)-prod \ + vmalert-$(GOARCH)-prod \ + vmauth-$(GOARCH)-prod \ + vmbackup-$(GOARCH)-prod \ + vmrestore-$(GOARCH)-prod \ + | sed s/-$(GOARCH)// > vmutils-$(GOARCH)-$(PKG_TAG)_checksums.txt pprof-cpu: go tool pprof -trim_path=github.com/VictoriaMetrics/VictoriaMetrics@ $(PPROF_FILE) From cc379f95c2138b349327ed370ffbc8128f3ee067 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Wed, 13 Jan 2021 18:13:18 +0200 Subject: [PATCH 03/11] Makefile: add `release-victoria-metrics-arm64` build rule --- Makefile | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 968b7df79..9d7ffaad2 100644 --- a/Makefile +++ b/Makefile @@ -64,9 +64,23 @@ release: \ release-victoria-metrics \ release-vmutils -release-victoria-metrics: victoria-metrics-prod - cd bin && tar czf victoria-metrics-$(PKG_TAG).tar.gz victoria-metrics-prod && \ - sha256sum victoria-metrics-$(PKG_TAG).tar.gz > victoria-metrics-$(PKG_TAG)_checksums.txt +release-victoria-metrics: \ + release-victoria-metrics-amd64 \ + release-victoria-metrics-arm64 + +release-victoria-metrics-amd64: + GOARCH=amd64 $(MAKE) release-victoria-metrics-generic + +release-victoria-metrics-arm64: + GOARCH=arm64 $(MAKE) release-victoria-metrics-generic + +release-victoria-metrics-generic: victoria-metrics-$(GOARCH)-prod + cd bin && \ + tar --transform="flags=r;s|-$(GOARCH)||" -czf victoria-metrics-$(GOARCH)-$(PKG_TAG).tar.gz \ + victoria-metrics-$(GOARCH)-prod \ + && sha256sum victoria-metrics-$(GOARCH)-$(PKG_TAG).tar.gz \ + victoria-metrics-$(GOARCH)-prod \ + | sed s/-$(GOARCH)// > victoria-metrics-$(GOARCH)-$(PKG_TAG)_checksums.txt release-vmutils: \ release-vmutils-amd64 \ From b638c1eed59877ce17bc99b1266db2ea810146fa Mon Sep 17 00:00:00 2001 From: faceair Date: Fri, 15 Jan 2021 03:46:01 -0600 Subject: [PATCH 04/11] lib/mergeset: add missing shouldCacheBlock (#1019) --- lib/mergeset/part_search.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mergeset/part_search.go b/lib/mergeset/part_search.go index 79ed0968f..c2ef73de2 100644 --- a/lib/mergeset/part_search.go +++ b/lib/mergeset/part_search.go @@ -77,6 +77,7 @@ func (ps *partSearch) Init(p *part, shouldCacheBlock func(item []byte) bool) { ps.p = p ps.idxbCache = p.idxbCache ps.ibCache = p.ibCache + ps.shouldCacheBlock = shouldCacheBlock } // Seek seeks for the first item greater or equal to k in ps. From 485d43ef21642c78e1de1e1fe2614c1fa1d67813 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 15 Jan 2021 22:48:00 +0200 Subject: [PATCH 05/11] deployment/docker: upgrade alpine base Docker image from v3.12.3 to v3.13.0 See release notes for v3.13.0 - https://www.alpinelinux.org/posts/Alpine-3.13.0-released.html --- deployment/docker/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index 07e37748e..0e13ca21c 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -2,8 +2,8 @@ DOCKER_NAMESPACE := victoriametrics -ROOT_IMAGE ?= alpine:3.12.3 -CERTS_IMAGE := alpine:3.12.3 +ROOT_IMAGE ?= alpine:3.13.0 +CERTS_IMAGE := alpine:3.13.0 GO_BUILDER_IMAGE := golang:1.15.6 BUILDER_IMAGE := local/builder:2.0.0-$(shell echo $(GO_BUILDER_IMAGE) | tr : _) BASE_IMAGE := local/base:1.1.1-$(shell echo $(ROOT_IMAGE) | tr : _)-$(shell echo $(CERTS_IMAGE) | tr : _) From fcbefc15d0725fb77914a902ccefdaeb50d8a74c Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sat, 16 Jan 2021 13:00:00 +0200 Subject: [PATCH 06/11] LICENSE: bump the last year from 2020 to 2021 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index b0d2a9fb5..84f8ad8b8 100644 --- a/LICENSE +++ b/LICENSE @@ -175,7 +175,7 @@ END OF TERMS AND CONDITIONS - Copyright 2019-2020 VictoriaMetrics, Inc. + Copyright 2019-2021 VictoriaMetrics, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. From 011c5da785e5085d6bb3bbbbb09434214544208f Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Mon, 18 Jan 2021 17:30:09 +0200 Subject: [PATCH 07/11] app/vmselect/graphite: extract getCanonicalPath() function from loop body inside getCanonicalPaths() --- app/vmselect/graphite/tags_api.go | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/app/vmselect/graphite/tags_api.go b/app/vmselect/graphite/tags_api.go index ba46aeb2d..e1728932f 100644 --- a/app/vmselect/graphite/tags_api.go +++ b/app/vmselect/graphite/tags_api.go @@ -357,26 +357,29 @@ func TagsFindSeriesHandler(startTime time.Time, w http.ResponseWriter, r *http.R func getCanonicalPaths(mns []storage.MetricName) []string { paths := make([]string, 0, len(mns)) - var b []byte - var tags []storage.Tag for _, mn := range mns { - b = append(b[:0], mn.MetricGroup...) - tags = append(tags[:0], mn.Tags...) - sort.Slice(tags, func(i, j int) bool { - return string(tags[i].Key) < string(tags[j].Key) - }) - for _, tag := range tags { - b = append(b, ';') - b = append(b, tag.Key...) - b = append(b, '=') - b = append(b, tag.Value...) - } - paths = append(paths, string(b)) + path := getCanonicalPath(&mn) + paths = append(paths, path) } sort.Strings(paths) return paths } +func getCanonicalPath(mn *storage.MetricName) string { + b := append([]byte{}, mn.MetricGroup...) + tags := append([]storage.Tag{}, mn.Tags...) + sort.Slice(tags, func(i, j int) bool { + return string(tags[i].Key) < string(tags[j].Key) + }) + for _, tag := range tags { + b = append(b, ';') + b = append(b, tag.Key...) + b = append(b, '=') + b = append(b, tag.Value...) + } + return string(b) +} + var tagsFindSeriesDuration = metrics.NewSummary(`vm_request_duration_seconds{path="/tags/findSeries"}`) // TagValuesHandler implements /tags/ endpoint from Graphite Tags API. From 8749c2dd9257044cc14eca069228e0d73cba608c Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Tue, 19 Jan 2021 22:55:46 +0200 Subject: [PATCH 08/11] app/vmselect: add `-search.maxStepForPointsAdjustment` command-line flag, which can be used for disabling adjustment for points returned from `/api/v1/query_range` handler if they have timestamps closer than `-search.latencyOffset` to the current time --- app/vmselect/prometheus/prometheus.go | 10 +++++++--- app/vmselect/promql/rollup.go | 2 +- docs/CHANGELOG.md | 4 +++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/vmselect/prometheus/prometheus.go b/app/vmselect/prometheus/prometheus.go index c11f7e771..bd62b3cc6 100644 --- a/app/vmselect/prometheus/prometheus.go +++ b/app/vmselect/prometheus/prometheus.go @@ -41,6 +41,8 @@ var ( "By default it is automatically calculated from the median interval between samples. This flag could be useful for tuning "+ "Prometheus data model closer to Influx-style data model. See https://prometheus.io/docs/prometheus/latest/querying/basics/#staleness for details. "+ "See also '-search.maxLookback' flag, which has the same meaning due to historical reasons") + maxStepForPointsAdjustment = flag.Duration("search.maxStepForPointsAdjustment", time.Minute, "The maximum step when /api/v1/query_range handler adjusts "+ + "points with timestamps closer than -search.latencyOffset to the current time. The adjustment is needed because such points may contain incomplete data") ) // Default step used if not set. @@ -1132,9 +1134,11 @@ func queryRangeHandler(startTime time.Time, w http.ResponseWriter, query string, if err != nil { return fmt.Errorf("cannot execute query: %w", err) } - queryOffset := getLatencyOffsetMilliseconds() - if ct-queryOffset < end { - result = adjustLastPoints(result, ct-queryOffset, ct+step) + if step < maxStepForPointsAdjustment.Milliseconds() { + queryOffset := getLatencyOffsetMilliseconds() + if ct-queryOffset < end { + result = adjustLastPoints(result, ct-queryOffset, ct+step) + } } // Remove NaN values as Prometheus does. diff --git a/app/vmselect/promql/rollup.go b/app/vmselect/promql/rollup.go index 41cf242fa..3c62fbdc7 100644 --- a/app/vmselect/promql/rollup.go +++ b/app/vmselect/promql/rollup.go @@ -391,7 +391,7 @@ type rollupConfig struct { // Whether window may be adjusted to 2 x interval between data points. // This is needed for functions which have dt in the denominator // such as rate, deriv, etc. - // Without the adjustement their value would jump in unexpected directions + // Without the adjustment their value would jump in unexpected directions // when using window smaller than 2 x scrape_interval. MayAdjustWindow bool diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 43d0c23d6..37cf62e9d 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -2,6 +2,8 @@ # tip +* FEATURE: added `search.maxStepForPointsAdjustment` command-line flag, which can be used for disabling adjustment for points returned `/api/v1/query_range` handler if such points have timestamps closer than `-search.latencyOffset` to the current time. Such points may contain incomplete data, so they are substituted by the previous values for `step` query args smaller than one minute by default. + # [v1.52.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.52.0) @@ -306,7 +308,7 @@ * BUGFIX: properly apply `-search.maxStalenessInterval` command-line flag value. See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/784 . * BUGFIX: fix displaying data in Grafana tables. See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/720 . * BUGFIX: do not adjust the number of detected CPU cores found at `/sys/devices/system/cpu/online`. - The adjustement was increasing the resulting GOMAXPROC by 1, which looked confusing to users. + The adjustment was increasing the resulting GOMAXPROC by 1, which looked confusing to users. See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/685#issuecomment-698595309 . * BUGFIX: vmagent: do not show `-remoteWrite.url` in initial logs if `-remoteWrite.showURL` isn't set. See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/773 . * BUGFIX: properly handle case when [/metrics/find](https://victoriametrics.github.io/#graphite-metrics-api-usage) finds both a leaf and a node for the given `query=prefix.*`. From 0a45220b0a902aeea0b9186fd3a85b24e534a642 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 21 Jan 2021 11:59:21 +0200 Subject: [PATCH 09/11] vendor: update github.com/VictoriaMetrics/fasthttp from v1.0.11 to v1.0.12 --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/VictoriaMetrics/fasthttp/client.go | 10 +++++++++- vendor/modules.txt | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 9ad1f5b28..17ee10d4d 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( // Do not use the original github.com/valyala/fasthttp because of issues // like https://github.com/valyala/fasthttp/commit/996610f021ff45fdc98c2ce7884d5fa4e7f9199b - github.com/VictoriaMetrics/fasthttp v1.0.11 + github.com/VictoriaMetrics/fasthttp v1.0.12 github.com/VictoriaMetrics/metrics v1.12.3 github.com/VictoriaMetrics/metricsql v0.10.0 github.com/aws/aws-sdk-go v1.36.25 diff --git a/go.sum b/go.sum index cceca4c80..be72c5d88 100644 --- a/go.sum +++ b/go.sum @@ -41,8 +41,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/VictoriaMetrics/fastcache v1.5.7 h1:4y6y0G8PRzszQUYIQHHssv/jgPHAb5qQuuDNdCbyAgw= github.com/VictoriaMetrics/fastcache v1.5.7/go.mod h1:ptDBkNMQI4RtmVo8VS/XwRY6RoTu1dAWCbrk+6WsEM8= -github.com/VictoriaMetrics/fasthttp v1.0.11 h1:6XOvE1pF/EhW8qoi7V5qJQJ2rhNV+UGrb1/a9vMbTiw= -github.com/VictoriaMetrics/fasthttp v1.0.11/go.mod h1:3SeUL4zwB/p/a9aEeRc6gdlbrtNHXBJR6N376EgiSHU= +github.com/VictoriaMetrics/fasthttp v1.0.12 h1:Ag0E119yrH4BTxVyjKD9TeiSImtG9bUcg/stItLJhSE= +github.com/VictoriaMetrics/fasthttp v1.0.12/go.mod h1:3SeUL4zwB/p/a9aEeRc6gdlbrtNHXBJR6N376EgiSHU= github.com/VictoriaMetrics/metrics v1.12.2/go.mod h1:Z1tSfPfngDn12bTfZSCqArT3OPY3u88J12hSoOhuiRE= github.com/VictoriaMetrics/metrics v1.12.3 h1:Fe6JHC6MSEKa+BtLhPN8WIvS+HKPzMc2evEpNeCGy7I= github.com/VictoriaMetrics/metrics v1.12.3/go.mod h1:Z1tSfPfngDn12bTfZSCqArT3OPY3u88J12hSoOhuiRE= diff --git a/vendor/github.com/VictoriaMetrics/fasthttp/client.go b/vendor/github.com/VictoriaMetrics/fasthttp/client.go index 7ff9f9cbf..5f1f433d6 100644 --- a/vendor/github.com/VictoriaMetrics/fasthttp/client.go +++ b/vendor/github.com/VictoriaMetrics/fasthttp/client.go @@ -571,6 +571,14 @@ type clientConn struct { lastWriteDeadlineTime time.Time } +func (cc *clientConn) reset() { + cc.c = nil + cc.createdTime = zeroTime + cc.lastUseTime = zeroTime + cc.lastReadDeadlineTime = zeroTime + cc.lastWriteDeadlineTime = zeroTime +} + var startTimeUnix = time.Now().Unix() // LastUseTime returns time the client was last used @@ -1252,7 +1260,7 @@ func acquireClientConn(conn net.Conn) *clientConn { } func releaseClientConn(cc *clientConn) { - cc.c = nil + cc.reset() clientConnPool.Put(cc) } diff --git a/vendor/modules.txt b/vendor/modules.txt index fc84ddb22..25e5f305a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -10,7 +10,7 @@ cloud.google.com/go/internal/version cloud.google.com/go/storage # github.com/VictoriaMetrics/fastcache v1.5.7 github.com/VictoriaMetrics/fastcache -# github.com/VictoriaMetrics/fasthttp v1.0.11 +# github.com/VictoriaMetrics/fasthttp v1.0.12 github.com/VictoriaMetrics/fasthttp github.com/VictoriaMetrics/fasthttp/fasthttputil github.com/VictoriaMetrics/fasthttp/stackless From 054fe1c198e25ef77eb30c8dec70e127540aa943 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 21 Jan 2021 18:39:10 +0200 Subject: [PATCH 10/11] deployment/docker: update Go builder from v1.15.6 to v1.15.7 See https://groups.google.com/g/golang-nuts/c/ufLjEY_AJ0I/m/smSHpGXiDQAJ for details --- deployment/docker/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index 0e13ca21c..dd28c0590 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -4,7 +4,7 @@ DOCKER_NAMESPACE := victoriametrics ROOT_IMAGE ?= alpine:3.13.0 CERTS_IMAGE := alpine:3.13.0 -GO_BUILDER_IMAGE := golang:1.15.6 +GO_BUILDER_IMAGE := golang:1.15.7 BUILDER_IMAGE := local/builder:2.0.0-$(shell echo $(GO_BUILDER_IMAGE) | tr : _) BASE_IMAGE := local/base:1.1.1-$(shell echo $(ROOT_IMAGE) | tr : _)-$(shell echo $(CERTS_IMAGE) | tr : _) From 3caac3d12c62b33c14d155a6849f1d22514906d6 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Fri, 22 Jan 2021 12:09:03 +0200 Subject: [PATCH 11/11] docs/CHANGELOG.md: mention about the fix with too big HTTP reconnection rate to targets This has been fixed in 0a45220b0a902aeea0b9186fd3a85b24e534a642 --- docs/CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 37cf62e9d..640e1a5c6 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,8 @@ * FEATURE: added `search.maxStepForPointsAdjustment` command-line flag, which can be used for disabling adjustment for points returned `/api/v1/query_range` handler if such points have timestamps closer than `-search.latencyOffset` to the current time. Such points may contain incomplete data, so they are substituted by the previous values for `step` query args smaller than one minute by default. +* BUGFIX: vmagent: reduce the HTTP reconnection rate to scrape targets. Previously vmagent could errorneusly close HTTP keep-alive connections more often than needed. + # [v1.52.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.52.0)