Skip to content

Commit

Permalink
Merge pull request #28 from fgouteroux/feat/update_k6_version
Browse files Browse the repository at this point in the history
feat: update k6 dependency and go version
  • Loading branch information
javaducky authored Jul 28, 2023
2 parents 2794598 + a862443 commit 5e6f01e
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 58 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.17.x'
go-version: '1.19.x'
- name: Install xk6
run: go install go.k6.io/xk6/cmd/xk6@latest
- name: Build a new k6 binary with the remote write extension
Expand Down
3 changes: 1 addition & 2 deletions bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"testing"
"time"

"github.com/oxtoacart/bpool"
"github.com/stretchr/testify/require"
"go.k6.io/k6/js/modulestest"
"go.k6.io/k6/lib"
Expand Down Expand Up @@ -92,7 +91,7 @@ func newTestServer(tb testing.TB) *testServer {

ts.vu.StateField = new(lib.State)
ts.vu.StateField.Transport = ts.server.Client().Transport
ts.vu.StateField.BPool = bpool.NewBufferPool(123)
ts.vu.StateField.BufferPool = lib.NewBufferPool()
ts.vu.StateField.Samples = ch
ts.vu.StateField.BuiltinMetrics = metrics.RegisterBuiltinMetrics(registry)
ts.vu.StateField.Tags = lib.NewVUStateTags(registry.RootTagSet())
Expand Down
38 changes: 19 additions & 19 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
module github.com/grafana/xk6-client-prometheus-remote

go 1.18
go 1.19

require (
github.com/dop251/goja v0.0.0-20221003171542-5ea1285e6c91
github.com/golang/protobuf v1.5.2
github.com/dop251/goja v0.0.0-20230531210528-d7324b2d74f7
github.com/golang/protobuf v1.5.3
github.com/golang/snappy v0.0.4
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c
github.com/pkg/errors v0.9.1
github.com/prometheus/prometheus v1.8.2-0.20210621150501-ff58416a0b02
github.com/stretchr/testify v1.8.0
github.com/stretchr/testify v1.8.2
github.com/xhit/go-str2duration/v2 v2.0.0
go.k6.io/k6 v0.41.0
google.golang.org/protobuf v1.27.1
go.k6.io/k6 v0.45.0
google.golang.org/protobuf v1.30.0
)

require (
github.com/Azure/go-ntlmssp v0.0.0-20220621081337-cb9428e4ac1e // indirect
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
github.com/Soontao/goHttpDigestClient v0.0.0-20170320082612-6d28bb1415c5 // indirect
github.com/andybalholm/brotli v1.0.4 // indirect
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dlclark/regexp2 v1.7.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/dlclark/regexp2 v1.9.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.4-0.20211119122758-180fcef48034+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/google/pprof v0.0.0-20230207041349-798e818bf904 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/klauspost/compress v1.16.5 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.16 // indirect
github.com/mstoykov/atlas v0.0.0-20220808085829-90340e9998bd // indirect
github.com/mattn/go-isatty v0.0.18 // indirect
github.com/mstoykov/atlas v0.0.0-20220811071828-388f114305dd // indirect
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
github.com/onsi/ginkgo v1.16.5 // indirect
github.com/onsi/gomega v1.18.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/serenize/snaker v0.0.0-20201027110005-a7ad2135616e // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/spf13/afero v1.2.2 // indirect
golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be // indirect
golang.org/x/net v0.0.0-20221002022538-bcab6841153b // indirect
golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220922220347-f3bd1da661af // indirect
golang.org/x/crypto v0.9.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/sys v0.8.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/time v0.3.0 // indirect
gopkg.in/guregu/null.v3 v3.3.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 5e6f01e

Please sign in to comment.