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 new path access for body as a string #22786

Merged
merged 2 commits into from
May 26, 2023

Conversation

TylerHelmuth
Copy link
Member

Description:
Adds a new path accessor, body.string, to get the body as a string representation no matter the body type. When using the setter a string must be passed.

Link to tracking Issue:

Only necessary if #22738 is merged.

Related to #18642.

This change allows the filterlog to filterottl bridge to preserve the functionality of checking the body against a string.

Testing:

Added new test

Documentation:
Updated README

@TylerHelmuth TylerHelmuth marked this pull request as ready for review May 26, 2023 14:24
@TylerHelmuth TylerHelmuth requested a review from a team as a code owner May 26, 2023 14:24
@TylerHelmuth TylerHelmuth merged commit d9c4f2d into open-telemetry:main May 26, 2023
88 checks passed
@TylerHelmuth TylerHelmuth deleted the ottl-body-string branch May 26, 2023 16:44
@github-actions github-actions bot added this to the next release milestone May 26, 2023
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.

None yet

3 participants