Skip to content

[extension/sumologicextension] Sanitize version information #37689

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

Merged
merged 8 commits into from
Feb 19, 2025

Conversation

amdprophet
Copy link
Contributor

Description

The format of versions reported by Sumo Logic's distribution of the OpenTelemetry collector recently changed. The new format is not currently supported by the sumologicextension in this repository. This PR adds a new function to sanitize the version before it is used to send data to the Sumo Logic backend service.

Testing

Added unit tests to test variations of possible collector version output. Used in the last two releases of Sumo Logic's distribution of the OpenTelemetry Collector.

fguimond and others added 5 commits November 15, 2024 12:50
Version numbers introduced by the new packaging implementation are not supported by the backend when sending collector information. When this new format is recognized clean it up to send a version that is compatible with the backend.
Version numbers introduced by the new packaging implementation are not supported by the backend when sending collector information. When this new format is recognized clean it up to send a version that is compatible with the backend.
Module set contrib-base, Version v0.114.0

Signed-off-by: Justin Kolberg <[email protected]>
@amdprophet amdprophet requested a review from a team as a code owner February 4, 2025 19:49
Copy link

linux-foundation-easycla bot commented Feb 4, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Contributor

@rnishtala-sumo rnishtala-sumo left a comment

Choose a reason for hiding this comment

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

LGTM! pinging @open-telemetry/collector-contrib-approvers

@mx-psi
Copy link
Member

mx-psi commented Feb 11, 2025

does this need a changelog?

@rnishtala-sumo
Copy link
Contributor

rnishtala-sumo commented Feb 11, 2025

@rnishtala-sumo
Copy link
Contributor

@mx-psi @amdprophet I went ahead and added a changelog for this.

@MovieStoreGuy MovieStoreGuy merged commit 3105f18 into open-telemetry:main Feb 19, 2025
162 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 19, 2025
@amdprophet amdprophet deleted the build-number-fix branch February 19, 2025 23:49
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.

8 participants