-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate statsd output #3347
Deprecate statsd output #3347
Conversation
Updates #2982
@@ -30,7 +30,13 @@ 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") | |||
}, | |||
"statsd": statsd.New, | |||
"statsd": func(params output.Params) (output.Output, error) { | |||
params.Logger.Warn("The statsd output is deprecated, and will be removed in a future k6 version. " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably should update the datadog
case too since it recommends using this statsd
😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about this but prefer to leave it for when we remove this - to update both to the extension. Or to be honest to just drop kafka and datadog as they have not been a thing for over 2 years at this point 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 for dropping (but OK with doing this in a separate PR)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
Updates #2982
Changelog
breaking: Deprecate statsd output
Statsd output has not been maintained very actively by the k6 core team and due to it not being very standard that isn't very likely to change. As such it has been decided that it will be moved to an extension and given to an outside maintainer that can better work on it.
The new extension can be found at https://github.com/LeonAdato/xk6-output-statsd