Skip to content

Commit e5954b7

Browse files
committed
Removes statsd output
1 parent baba871 commit e5954b7

File tree

13 files changed

+4
-1414
lines changed

13 files changed

+4
-1414
lines changed

cmd/outputs.go

+4-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
"go.k6.io/k6/output/csv"
1515
"go.k6.io/k6/output/influxdb"
1616
"go.k6.io/k6/output/json"
17-
"go.k6.io/k6/output/statsd"
1817

1918
"github.com/grafana/xk6-dashboard/dashboard"
2019
"github.com/grafana/xk6-output-opentelemetry/pkg/opentelemetry"
@@ -52,12 +51,11 @@ func getAllOutputConstructors() (map[string]output.Constructor, error) {
5251
return nil, errors.New("the kafka output was deprecated in k6 v0.32.0 and removed in k6 v0.34.0, " +
5352
"please use the new xk6 kafka output extension instead - https://github.com/k6io/xk6-output-kafka")
5453
},
55-
builtinOutputStatsd.String(): func(params output.Params) (output.Output, error) {
56-
params.Logger.Warn("The statsd output is deprecated, and will be removed in k6 v0.55.0 " +
57-
"Please use the new xk6 statsd output extension instead. " +
54+
builtinOutputStatsd.String(): func(_ output.Params) (output.Output, error) {
55+
return nil, errors.New("the statsd output was deprecated in k6 v0.47.0 and removed in in k6 v0.55.0, " +
56+
"please use the new xk6 statsd output extension instead. " +
5857
"It can be found at https://github.com/LeonAdato/xk6-output-statsd and " +
59-
"more info at https://github.com/grafana/k6/issues/2982.")
60-
return statsd.New(params)
58+
"more info at https://github.com/grafana/k6/issues/2982")
6159
},
6260
builtinOutputDatadog.String(): func(_ output.Params) (output.Output, error) {
6361
return nil, errors.New("the datadog output was deprecated in k6 v0.32.0 and removed in k6 v0.34.0, " +

go.mod

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ toolchain go1.21.13
66

77
require (
88
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358
9-
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a
109
github.com/PuerkitoBio/goquery v1.9.2
1110
github.com/Soontao/goHttpDigestClient v0.0.0-20170320082612-6d28bb1415c5
1211
github.com/andybalholm/brotli v1.1.0

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
66
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 h1:mFRzDkZVAjdal+s7s0MwaRv9igoPqLRdzOLzw/8Xvq8=
77
github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU=
88
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
9-
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a h1:zpQSzEApXM0qkXcpdjeJ4OpnBWhD/X8zT/iT1wYLiVU=
10-
github.com/DataDog/datadog-go v0.0.0-20180330214955-e67964b4021a/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
119
github.com/Masterminds/semver/v3 v3.2.1 h1:RN9w6+7QoMeJVGyfmbcgs28Br8cvmnucEXnY0rYXWg0=
1210
github.com/Masterminds/semver/v3 v3.2.1/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
1311
github.com/PuerkitoBio/goquery v1.9.2 h1:4/wZksC3KgkQw7SQgkKotmKljk0M6V8TUvA8Wb4yPeE=

output/statsd/config.go

-94
This file was deleted.

output/statsd/helper_test.go

-153
This file was deleted.

0 commit comments

Comments
 (0)