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

Add IsMatchVersion convertor to pkg/ottl. #34647

Closed
wants to merge 3 commits into from

Conversation

boh-dan
Copy link

@boh-dan boh-dan commented Aug 13, 2024

Description: Add IsMatchVersion converter to the pkg/ottl.

IsMatchVersion should help in situations where a specific version of the application or instrumentation is targeted. The author came across a situation where an old version of the mobile application is sending an incorrect telemetry and there is no other way to filter out the telemetry except using the application version. The solution is based on the go semver library that provides all required functionality to parse a semver version and validate against constraint.
Testing: unit tests and e2e test

Issue: #34674

Documentation: A new README entry was added for the IsMatchVersion function.

Copy link

linux-foundation-easycla bot commented Aug 13, 2024

CLA Not Signed

@TylerHelmuth
Copy link
Member

@boh-dan please open an issue describing your problem so we can discuss this potential function addition.

@boh-dan
Copy link
Author

boh-dan commented Aug 14, 2024

@TylerHelmuth just added into the description.

@boh-dan boh-dan closed this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants