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

[exporter/sumologicexporter]: Removed deprecated compress encoding in sumo exporter #33604

Merged

Conversation

chan-tim-sumo
Copy link
Contributor

Description:

Switched to use compression from client config, compress_encdoing is deprecated, so removing from exporter.

Link to tracking Issue:

Testing:

Unit test

Documentation:

chloggen

# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: enhancement
Copy link
Member

Choose a reason for hiding this comment

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

It is breaking or deprecation change. We should provide in this PR also migration steps for customers

Copy link
Contributor Author

@chan-tim-sumo chan-tim-sumo Jun 18, 2024

Choose a reason for hiding this comment

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

whoops yeah its deprecation 😆

what do you mean by migration steps? are the customers not using compression already? since compress encoding is deprecated already

Copy link
Contributor

@rnishtala-sumo rnishtala-sumo Jun 18, 2024

Choose a reason for hiding this comment

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

Yeah, this will be a breaking change. This is the doc that captures migration changes to be included in the sumo distro of the otel collector https://github.com/SumoLogic/sumologic-otel-collector/blob/main/docs/upgrading.md

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added migration steps in a separate PR: SumoLogic/sumologic-otel-collector#1605

@chan-tim-sumo chan-tim-sumo force-pushed the chan-tim_deprecateCompressEncoding branch from 6ef2f17 to 91b8d17 Compare June 20, 2024 16:07
Copy link
Member

@sumo-drosiek sumo-drosiek left a comment

Choose a reason for hiding this comment

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

I tested the binary, and it seems that those changes are required, otherwise setting empty compress_encoding (which is valid for deprecated value) do not raise an error

exporter/sumologicexporter/config.go Outdated Show resolved Hide resolved
exporter/sumologicexporter/config.go Outdated Show resolved Hide resolved
@chan-tim-sumo
Copy link
Contributor Author

hey @dashpole , saw that you're one of the approvers. can you take a look at this pr? thanks!

@dashpole
Copy link
Contributor

I'll take a look after it has been approved by a codeowner.

@rnishtala-sumo
Copy link
Contributor

LGTM! 🚀

@chan-tim-sumo
Copy link
Contributor Author

@dmitryax @TylerHelmuth need a maintainer to merge this, can you take a look? 💪

@dmitryax dmitryax merged commit 8f307f5 into open-telemetry:main Jun 26, 2024
154 checks passed
@github-actions github-actions bot added this to the next release milestone Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants