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 ConvertAttributesToElementsXML Converter #35328

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

djaglowski
Copy link
Member

@djaglowski djaglowski commented Sep 20, 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 elementize-attributes-xml branch from 67d21ae to eaeecc8 Compare September 20, 2024 16:16
@djaglowski djaglowski force-pushed the elementize-attributes-xml branch from eaeecc8 to cdc0fe3 Compare September 23, 2024 15:48
@github-actions github-actions bot requested a review from lahsivjar September 23, 2024 15:49
@djaglowski djaglowski force-pushed the elementize-attributes-xml branch 2 times, most recently from 95e0c23 to 9274abc Compare September 24, 2024 16:15
@djaglowski djaglowski marked this pull request as ready for review September 24, 2024 16:31
@djaglowski djaglowski requested a review from a team as a code owner September 24, 2024 16:31
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
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
@djaglowski djaglowski changed the title [pkg/ottl] Add ElementizeAttributesXML Converter [pkg/ottl] Add ConvertAttributesToElementsXML Converter Oct 8, 2024
@djaglowski djaglowski force-pushed the elementize-attributes-xml branch from 6e2f32b to 90cf39d Compare October 9, 2024 00:39
pkg/ottl/ottlfuncs/README.md Show resolved Hide resolved
@djaglowski djaglowski force-pushed the elementize-attributes-xml branch from 90cf39d to f4cff45 Compare October 10, 2024 14:44
@djaglowski djaglowski merged commit d7e5154 into open-telemetry:main Oct 10, 2024
158 checks passed
@djaglowski djaglowski deleted the elementize-attributes-xml branch October 10, 2024 15:27
@github-actions github-actions bot added this to the next release milestone Oct 10, 2024
djaglowski added a commit that referenced this pull request Oct 10, 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
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.

3 participants