diff --git a/.github/workflows/check-licenses.yml b/.github/workflows/check-licenses.yml index b66b466e9..304df1297 100644 --- a/.github/workflows/check-licenses.yml +++ b/.github/workflows/check-licenses.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Go uses: actions/setup-go@main with: - go-version: 1.19.3 + go-version: 1.19.4 id: go - name: Code checkout uses: actions/checkout@master diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c16f86d32..79cbd5a91 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Go uses: actions/setup-go@main with: - go-version: 1.19.3 + go-version: 1.19.4 id: go - name: Code checkout uses: actions/checkout@master diff --git a/README.md b/README.md index ed6f9caff..d411f9d01 100644 --- a/README.md +++ b/README.md @@ -787,7 +787,7 @@ to your needs or when testing bugfixes. ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -803,7 +803,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics-linux-arm` or `make victoria-metrics-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-linux-arm` or `victoria-metrics-linux-arm64` binary respectively and puts it into the `bin` folder. @@ -817,7 +817,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b `Pure Go` mode builds only Go code without [cgo](https://golang.org/cmd/cgo/) dependencies. -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics-pure` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/app/vmagent/README.md b/app/vmagent/README.md index 1f5f4f681..2fc8fb3ca 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -1032,7 +1032,7 @@ It may be needed to build `vmagent` from source code when developing or testing ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmagent` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds the `vmagent` binary and puts it into the `bin` folder. @@ -1061,7 +1061,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmagent-linux-arm` or `make vmagent-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics) It builds `vmagent-linux-arm` or `vmagent-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmalert/README.md b/app/vmalert/README.md index 266924ba8..d5a49ac21 100644 --- a/app/vmalert/README.md +++ b/app/vmalert/README.md @@ -1317,7 +1317,7 @@ spec: ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmalert` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert` binary and puts it into the `bin` folder. @@ -1333,7 +1333,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmalert-linux-arm` or `make vmalert-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert-linux-arm` or `vmalert-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmauth/README.md b/app/vmauth/README.md index 89e102430..426dd1dff 100644 --- a/app/vmauth/README.md +++ b/app/vmauth/README.md @@ -167,7 +167,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmauth` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmauth` binary and puts it into the `bin` folder. diff --git a/app/vmbackup/README.md b/app/vmbackup/README.md index cfb2f96c1..7b3b4d56f 100644 --- a/app/vmbackup/README.md +++ b/app/vmbackup/README.md @@ -286,7 +286,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmbackup` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmbackup` binary and puts it into the `bin` folder. diff --git a/app/vmctl/README.md b/app/vmctl/README.md index 38be9a1c7..49275898a 100644 --- a/app/vmctl/README.md +++ b/app/vmctl/README.md @@ -1017,7 +1017,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmctl` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl` binary and puts it into the `bin` folder. @@ -1046,7 +1046,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b #### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmctl-linux-arm` or `make vmctl-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl-linux-arm` or `vmctl-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/app/vmrestore/README.md b/app/vmrestore/README.md index 960775d3f..45cf53209 100644 --- a/app/vmrestore/README.md +++ b/app/vmrestore/README.md @@ -186,7 +186,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmrestore` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmrestore` binary and puts it into the `bin` folder. diff --git a/app/vmui/Dockerfile-web b/app/vmui/Dockerfile-web index c29bf28ea..af99bed68 100644 --- a/app/vmui/Dockerfile-web +++ b/app/vmui/Dockerfile-web @@ -1,4 +1,4 @@ -FROM golang:1.19.3 as build-web-stage +FROM golang:1.19.4 as build-web-stage COPY build /build WORKDIR /build diff --git a/deployment/docker/Makefile b/deployment/docker/Makefile index 80e6bd7d8..676f3186e 100644 --- a/deployment/docker/Makefile +++ b/deployment/docker/Makefile @@ -4,7 +4,7 @@ DOCKER_NAMESPACE := victoriametrics ROOT_IMAGE ?= alpine:3.17.0 CERTS_IMAGE := alpine:3.17.0 -GO_BUILDER_IMAGE := golang:1.19.3-alpine +GO_BUILDER_IMAGE := golang:1.19.4-alpine BUILDER_IMAGE := local/builder:2.0.0-$(shell echo $(GO_BUILDER_IMAGE) | tr :/ __)-1 BASE_IMAGE := local/base:1.1.3-$(shell echo $(ROOT_IMAGE) | tr :/ __)-$(shell echo $(CERTS_IMAGE) | tr :/ __) diff --git a/docs/README.md b/docs/README.md index c9d5f9ea9..04f46b3ca 100644 --- a/docs/README.md +++ b/docs/README.md @@ -788,7 +788,7 @@ to your needs or when testing bugfixes. ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -804,7 +804,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics-linux-arm` or `make victoria-metrics-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-linux-arm` or `victoria-metrics-linux-arm64` binary respectively and puts it into the `bin` folder. @@ -818,7 +818,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b `Pure Go` mode builds only Go code without [cgo](https://golang.org/cmd/cgo/) dependencies. -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics-pure` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index aff18a849..31c20f272 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -791,7 +791,7 @@ to your needs or when testing bugfixes. ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics` binary and puts it into the `bin` folder. @@ -807,7 +807,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics-linux-arm` or `make victoria-metrics-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-linux-arm` or `victoria-metrics-linux-arm64` binary respectively and puts it into the `bin` folder. @@ -821,7 +821,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b `Pure Go` mode builds only Go code without [cgo](https://golang.org/cmd/cgo/) dependencies. -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make victoria-metrics-pure` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `victoria-metrics-pure` binary and puts it into the `bin` folder. diff --git a/docs/vmagent.md b/docs/vmagent.md index 87318c0a0..8d7164aa5 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -658,8 +658,9 @@ scrape_configs: 'match[]': ['{__name__!=""}'] ``` -Note that `sample_limit` and `series_limit` [scrape_config options](https://docs.victoriametrics.com/sd_configs.html#scrape_configs) -cannot be used in stream parsing mode because the parsed data is pushed to remote storage as soon as it is parsed. +Note that `vmagent` in stream parsing mode stores up to `sample_limit` samples to the configured `-remoteStorage.url` +instead of droping all the samples read from the target, because the parsed data is sent to the remote storage +as soon as it is parsed in stream parsing mode. ## Scraping big number of targets @@ -748,8 +749,8 @@ By default `vmagent` doesn't limit the number of time series each scrape target * Via `-promscrape.seriesLimitPerTarget` command-line option. This limit is applied individually to all the scrape targets defined in the file pointed by `-promscrape.config`. -* Via `series_limit` config option at `scrape_config` section. This limit is applied individually - to all the scrape targets defined in the given `scrape_config`. +* Via `series_limit` config option at [scrape_config](https://docs.victoriametrics.com/sd_configs.html#scrape_configs) section. + This limit is applied individually to all the scrape targets defined in the given `scrape_config`. * Via `__series_limit__` label, which can be set with [relabeling](#relabeling) at `relabel_configs` section. This limit is applied to the corresponding scrape targets. Typical use case: to set the limit via [Kubernetes annotations](https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/) for targets, @@ -1035,7 +1036,7 @@ It may be needed to build `vmagent` from source code when developing or testing ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmagent` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds the `vmagent` binary and puts it into the `bin` folder. @@ -1064,7 +1065,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmagent-linux-arm` or `make vmagent-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics) It builds `vmagent-linux-arm` or `vmagent-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmalert.md b/docs/vmalert.md index f73362857..d1c890aaf 100644 --- a/docs/vmalert.md +++ b/docs/vmalert.md @@ -1321,7 +1321,7 @@ spec: ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmalert` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert` binary and puts it into the `bin` folder. @@ -1337,7 +1337,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b ### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmalert-linux-arm` or `make vmalert-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmalert-linux-arm` or `vmalert-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmauth.md b/docs/vmauth.md index 4912ca638..da633ef10 100644 --- a/docs/vmauth.md +++ b/docs/vmauth.md @@ -171,7 +171,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmauth` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmauth` binary and puts it into the `bin` folder. diff --git a/docs/vmbackup.md b/docs/vmbackup.md index 2caffde57..90001a93d 100644 --- a/docs/vmbackup.md +++ b/docs/vmbackup.md @@ -290,7 +290,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmbackup` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmbackup` binary and puts it into the `bin` folder. diff --git a/docs/vmctl.md b/docs/vmctl.md index dbbaf6e2c..a268d0294 100644 --- a/docs/vmctl.md +++ b/docs/vmctl.md @@ -1021,7 +1021,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmctl` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl` binary and puts it into the `bin` folder. @@ -1050,7 +1050,7 @@ ARM build may run on Raspberry Pi or on [energy-efficient ARM servers](https://b #### Development ARM build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmctl-linux-arm` or `make vmctl-linux-arm64` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmctl-linux-arm` or `vmctl-linux-arm64` binary respectively and puts it into the `bin` folder. diff --git a/docs/vmrestore.md b/docs/vmrestore.md index 23d3e98f3..eac807e2b 100644 --- a/docs/vmrestore.md +++ b/docs/vmrestore.md @@ -190,7 +190,7 @@ It is recommended using [binary releases](https://github.com/VictoriaMetrics/Vic ### Development build -1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19.3. +1. [Install Go](https://golang.org/doc/install). The minimum supported version is Go 1.19. 2. Run `make vmrestore` from the root folder of [the repository](https://github.com/VictoriaMetrics/VictoriaMetrics). It builds `vmrestore` binary and puts it into the `bin` folder. diff --git a/snap/local/Makefile b/snap/local/Makefile index 41cb791a8..63182689d 100644 --- a/snap/local/Makefile +++ b/snap/local/Makefile @@ -1,4 +1,4 @@ -GO_VERSION ?=1.19.3 +GO_VERSION ?=1.19.4 SNAP_BUILDER_IMAGE := local/snap-builder:2.0.0-$(shell echo $(GO_VERSION) | tr :/ __)