-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[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
[extension/sumologicextension] Sanitize version information #37689
Conversation
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]>
Signed-off-by: Justin Kolberg <[email protected]>
Signed-off-by: Justin Kolberg <[email protected]>
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! pinging @open-telemetry/collector-contrib-approvers
does this need a changelog? |
@amdprophet I think we do need a changelog for this - https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#adding-a-changelog-entry |
1d9a5fd
to
b26162f
Compare
@mx-psi @amdprophet I went ahead and added a changelog for this. |
b26162f
to
52086a9
Compare
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.