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

[pkg/ottl] add ValueExpression to support extraction of values from the signal context #36883

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

bacherfl
Copy link
Contributor

Description

This PR adds a new ParseValueExpression method to the OTTL parser which allows users of this package to extract data from the context using OTTL

Link to tracking issue

Fixes #35621

Testing

Added unit and e2e tests - currently working on adding some more test cases

Documentation

Added godoc comments for the added methods and types

Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
@bacherfl bacherfl changed the title Feat/35621/ottl expression evaluation [pkg/ottl] add ValueExpression to support extraction of values from the signal context Dec 18, 2024
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
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.

[pkg/ottl] Support for data retrieval OTTL expressions
1 participant