Skip to content
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

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Deprecate statsd output #3347

merged 1 commit into from
Sep 21, 2023

Conversation

mstoykov
Copy link
Contributor

@mstoykov mstoykov commented Sep 21, 2023

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

@@ -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. " +
Copy link
Contributor

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 😅

Copy link
Contributor Author

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 😅

Copy link
Contributor

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)

@olegbespalov olegbespalov added this to the v0.47.0 milestone Sep 21, 2023
@javaducky javaducky self-requested a review September 21, 2023 13:08
Copy link
Contributor

@javaducky javaducky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you!

@mstoykov mstoykov merged commit 237bea9 into master Sep 21, 2023
22 checks passed
@mstoykov mstoykov deleted the deprecateStatsd branch September 21, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants