Skip to content

[pkg/ottl] Add ConvertTextToElementsXML Converter #35364

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 6 commits into from
Oct 10, 2024

Conversation

djaglowski
Copy link
Member

@djaglowski djaglowski commented Sep 23, 2024

This adds a converter called ConvertTextToElementsXML . This serves as one of the granular transformations described in #35281 which will allow users to migrate any arbitrary XML document into a JSON-equivalent state.

Also see #35328

TylerHelmuth pushed a commit that referenced this pull request Sep 25, 2024
This is just a minor cleanup of tests, following the pattern used in
#35421, #35328, and #35364
@djaglowski djaglowski force-pushed the wrap-hanging-values-xml branch from dfe09c6 to c656db3 Compare October 2, 2024 00:19
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
@djaglowski djaglowski force-pushed the wrap-hanging-values-xml branch from c656db3 to 4c99a17 Compare October 10, 2024 15:20
djaglowski added a commit that referenced this pull request Oct 10, 2024
This adds a converter called `ElementizeAttributesXML`. This serves as
one of the granular transformations described in #35281 which will allow
users to migrate any arbitrary XML document into a JSON-equivalent
state.

Also see #35364
@djaglowski djaglowski force-pushed the wrap-hanging-values-xml branch from 4c99a17 to 1522cbf Compare October 10, 2024 15:28
@djaglowski djaglowski changed the title [pkg/ottl] Add ElementizeValuesXML Converter [pkg/ottl] Add ConvertTextToElementsXML Converter Oct 10, 2024
@djaglowski djaglowski force-pushed the wrap-hanging-values-xml branch from 6e1338c to 7eb8030 Compare October 10, 2024 16:28
@djaglowski djaglowski force-pushed the wrap-hanging-values-xml branch from 7eb8030 to 4184a36 Compare October 10, 2024 16:29
@djaglowski djaglowski merged commit db7020c into open-telemetry:main Oct 10, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 10, 2024
@djaglowski djaglowski deleted the wrap-hanging-values-xml branch October 10, 2024 17:36
djaglowski added a commit that referenced this pull request Oct 15, 2024
This adds a converter called `ParseSimplifiedXML`. This serves as the
final step described in
#35281,
which will allow users to parse any arbitrary XML document into
user-friendly result, by first transforming the document in place with
other functions (e.g. #35328 and #35364) and then calling this function.

---------

Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
…ry#35328)

This adds a converter called `ElementizeAttributesXML`. This serves as
one of the granular transformations described in open-telemetry#35281 which will allow
users to migrate any arbitrary XML document into a JSON-equivalent
state.

Also see open-telemetry#35364
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
This adds a converter called `ConvertTextToElementsXML `. This serves as
one of the granular transformations described in
open-telemetry#35281
which will allow users to migrate any arbitrary XML document into a
JSON-equivalent state.

Also see open-telemetry#35328
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
This adds a converter called `ParseSimplifiedXML`. This serves as the
final step described in
open-telemetry#35281,
which will allow users to parse any arbitrary XML document into
user-friendly result, by first transforming the document in place with
other functions (e.g. open-telemetry#35328 and open-telemetry#35364) and then calling this function.

---------

Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
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.

4 participants