Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Removes statsd output #3849

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Removes statsd output
olegbespalov committed Oct 11, 2024

Verified

This commit was signed with the committer’s verified signature.
olegbespalov Oleg Bespalov
commit e5954b7bd5a2768dbf8d111287fbff03deefe8d3
10 changes: 4 additions & 6 deletions cmd/outputs.go
Original file line number Diff line number Diff line change
@@ -14,7 +14,6 @@ import (
"go.k6.io/k6/output/csv"
"go.k6.io/k6/output/influxdb"
"go.k6.io/k6/output/json"
"go.k6.io/k6/output/statsd"

"github.com/grafana/xk6-dashboard/dashboard"
"github.com/grafana/xk6-output-opentelemetry/pkg/opentelemetry"
@@ -52,12 +51,11 @@ func getAllOutputConstructors() (map[string]output.Constructor, error) {
return nil, errors.New("the kafka output was deprecated in k6 v0.32.0 and removed in k6 v0.34.0, " +
"please use the new xk6 kafka output extension instead - https://github.com/k6io/xk6-output-kafka")
},
builtinOutputStatsd.String(): func(params output.Params) (output.Output, error) {
params.Logger.Warn("The statsd output is deprecated, and will be removed in k6 v0.55.0 " +
"Please use the new xk6 statsd output extension instead. " +
builtinOutputStatsd.String(): func(_ output.Params) (output.Output, error) {
return nil, errors.New("the statsd output was deprecated in k6 v0.47.0 and removed in in k6 v0.55.0, " +
"please use the new xk6 statsd output extension instead. " +
"It can be found at https://github.com/LeonAdato/xk6-output-statsd and " +
"more info at https://github.com/grafana/k6/issues/2982.")
return statsd.New(params)
"more info at https://github.com/grafana/k6/issues/2982")
},
builtinOutputDatadog.String(): func(_ output.Params) (output.Output, error) {
return nil, errors.New("the datadog output was deprecated in k6 v0.32.0 and removed in k6 v0.34.0, " +
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -6,7 +6,6 @@ toolchain go1.21.13

require (
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a
github.com/PuerkitoBio/goquery v1.9.2
github.com/Soontao/goHttpDigestClient v0.0.0-20170320082612-6d28bb1415c5
github.com/andybalholm/brotli v1.1.0
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -6,8 +6,6 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 h1:mFRzDkZVAjdal+s7s0MwaRv9igoPqLRdzOLzw/8Xvq8=
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a h1:zpQSzEApXM0qkXcpdjeJ4OpnBWhD/X8zT/iT1wYLiVU=
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE=
94 changes: 0 additions & 94 deletions output/statsd/config.go

This file was deleted.

153 changes: 0 additions & 153 deletions output/statsd/helper_test.go

This file was deleted.

164 changes: 0 additions & 164 deletions output/statsd/output.go

This file was deleted.

121 changes: 0 additions & 121 deletions output/statsd/output_test.go

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/DataDog/datadog-go/LICENSE.txt

This file was deleted.

64 changes: 0 additions & 64 deletions vendor/github.com/DataDog/datadog-go/statsd/README.md

This file was deleted.

680 changes: 0 additions & 680 deletions vendor/github.com/DataDog/datadog-go/statsd/statsd.go

This file was deleted.

40 changes: 0 additions & 40 deletions vendor/github.com/DataDog/datadog-go/statsd/udp.go

This file was deleted.

67 changes: 0 additions & 67 deletions vendor/github.com/DataDog/datadog-go/statsd/uds.go

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -7,9 +7,6 @@ buf.build/gen/go/prometheus/prometheus/protocolbuffers/go
# github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
## explicit
github.com/Azure/go-ntlmssp
# github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a
## explicit
github.com/DataDog/datadog-go/statsd
# github.com/PuerkitoBio/goquery v1.9.2
## explicit; go 1.18
github.com/PuerkitoBio/goquery