From 8840103bef96ee249e3bd76c559e14ce860bd9ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 08:07:50 +0000 Subject: [PATCH] Upgrade experimental module (deps): Bump github.com/grafana/xk6-output-prometheus-remote Bumps [github.com/grafana/xk6-output-prometheus-remote](https://github.com/grafana/xk6-output-prometheus-remote) from 0.3.1 to 0.4.0. - [Release notes](https://github.com/grafana/xk6-output-prometheus-remote/releases) - [Commits](https://github.com/grafana/xk6-output-prometheus-remote/compare/v0.3.1...v0.4.0) --- updated-dependencies: - dependency-name: github.com/grafana/xk6-output-prometheus-remote dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- .../grafana/xk6-output-prometheus-remote/pkg/remote/client.go | 3 ++- vendor/modules.txt | 4 ++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index f505c8601e9..38cc443acfa 100644 --- a/go.mod +++ b/go.mod @@ -17,7 +17,7 @@ require ( github.com/grafana/sobek v0.0.0-20240607083612-4f0cd64f4e78 github.com/grafana/xk6-browser v1.5.2-0.20240607140836-ffcc1f5169ad github.com/grafana/xk6-dashboard v0.7.4 - github.com/grafana/xk6-output-prometheus-remote v0.3.1 + github.com/grafana/xk6-output-prometheus-remote v0.4.0 github.com/grafana/xk6-redis v0.2.0 github.com/grafana/xk6-webcrypto v0.3.0 github.com/grafana/xk6-websockets v0.5.1 diff --git a/go.sum b/go.sum index 451ae66f479..1067a79597b 100644 --- a/go.sum +++ b/go.sum @@ -89,8 +89,8 @@ github.com/grafana/xk6-browser v1.5.2-0.20240607140836-ffcc1f5169ad h1:q3sB942oY github.com/grafana/xk6-browser v1.5.2-0.20240607140836-ffcc1f5169ad/go.mod h1:xLaGGhTMHIRsMvkVWFYh9RPy87kG2n4L4Or6DeI8U+o= github.com/grafana/xk6-dashboard v0.7.4 h1:0ZRPTAXW+6A3Xqq/a/OaIZhxUt1SOMwUFff0IPwBHrs= github.com/grafana/xk6-dashboard v0.7.4/go.mod h1:300QyQ+OQAYz/L/AzB5tKzPeBY5eKh2wl1NsRmCbsx4= -github.com/grafana/xk6-output-prometheus-remote v0.3.1 h1:X23rQzlJD8dXWB31DkxR4uPnuRFo8L0Y0H22fSG9xl0= -github.com/grafana/xk6-output-prometheus-remote v0.3.1/go.mod h1:0JLAm4ONsNUlNoxJXAwOCfA6GtDwTPs557OplAvE+3o= +github.com/grafana/xk6-output-prometheus-remote v0.4.0 h1:7k3xjuKaD9BwcX8iuu5v6PtAK1L53kvx1r8BaTUfRH4= +github.com/grafana/xk6-output-prometheus-remote v0.4.0/go.mod h1:esXXthLoVp9JUdGkECRthESVYu0TQTR24wrx2nRM9ak= github.com/grafana/xk6-redis v0.2.0 h1:iXmAKVlAxafZ/h8ptuXTFhGu63IFsyDI8QjUgWm66BU= github.com/grafana/xk6-redis v0.2.0/go.mod h1:B3PA9PAPJa2/WUfNJCdQwZrbb6D4e6UHIk8dssQbj7w= github.com/grafana/xk6-webcrypto v0.3.0 h1:piwiTrLTQDbuzC4CK0dVjbzQqNhIoGjWXrflf++W8aE= diff --git a/vendor/github.com/grafana/xk6-output-prometheus-remote/pkg/remote/client.go b/vendor/github.com/grafana/xk6-output-prometheus-remote/pkg/remote/client.go index 7e0f97f1e96..eca4d8a964d 100644 --- a/vendor/github.com/grafana/xk6-output-prometheus-remote/pkg/remote/client.go +++ b/vendor/github.com/grafana/xk6-output-prometheus-remote/pkg/remote/client.go @@ -7,6 +7,7 @@ import ( "crypto/tls" "fmt" "io" + "math" "net/http" "net/url" "time" @@ -117,7 +118,7 @@ func newWriteRequestBody(series []*prompb.TimeSeries) ([]byte, error) { } if snappy.MaxEncodedLen(len(b)) < 0 { return nil, fmt.Errorf("the protobuf message is too large to be handled by Snappy encoder; "+ - "size: %d, limit: %d", len(b), 0xffffffff) + "size: %d, limit: %d", len(b), math.MaxUint32) } return snappy.Encode(nil, b), nil } diff --git a/vendor/modules.txt b/vendor/modules.txt index e20c2f36189..e5a51b8bae6 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -192,8 +192,8 @@ github.com/grafana/xk6-browser/trace # github.com/grafana/xk6-dashboard v0.7.4 ## explicit; go 1.20 github.com/grafana/xk6-dashboard/dashboard -# github.com/grafana/xk6-output-prometheus-remote v0.3.1 -## explicit; go 1.18 +# github.com/grafana/xk6-output-prometheus-remote v0.4.0 +## explicit; go 1.20 github.com/grafana/xk6-output-prometheus-remote/pkg/remote github.com/grafana/xk6-output-prometheus-remote/pkg/remotewrite github.com/grafana/xk6-output-prometheus-remote/pkg/stale