Skip to content

[pkg/ottl] A new OTTL function ParseInt#40786

Merged
evan-bradley merged 22 commits intoopen-telemetry:mainfrom
XuechunHou:filter-processor
Jul 9, 2025
Merged

[pkg/ottl] A new OTTL function ParseInt#40786
evan-bradley merged 22 commits intoopen-telemetry:mainfrom
XuechunHou:filter-processor

Conversation

@XuechunHou
Copy link
Contributor

@XuechunHou XuechunHou commented Jun 17, 2025

Description

Added a ParseInt function that converts a stringified integer in a certain base into an int64.

Link to tracking issue

Fixes
#40758

Testing

Added unit tests and e2e tests.

Documentation

Updated readme and added changelog entry.

@XuechunHou XuechunHou marked this pull request as ready for review June 17, 2025 22:13
@XuechunHou XuechunHou requested a review from a team as a code owner June 17, 2025 22:13
Copy link
Contributor

@edmocosta edmocosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on that @XuechunHou, and I'm sorry for the late review :)
I've left a few suggestions for your consideration.

XuechunHou and others added 5 commits July 3, 2025 18:00
Co-authored-by: Edmo Vamerlatti Costa <11836452+edmocosta@users.noreply.github.com>
XuechunHou and others added 2 commits July 7, 2025 15:09
Co-authored-by: Edmo Vamerlatti Costa <11836452+edmocosta@users.noreply.github.com>
Copy link
Contributor

@edmocosta edmocosta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on that, LGTM!

@evan-bradley evan-bradley merged commit 22815ac into open-telemetry:main Jul 9, 2025
177 checks passed
@github-actions github-actions bot added this to the next release milestone Jul 9, 2025
@edmocosta edmocosta linked an issue Jul 17, 2025 that may be closed by this pull request
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
Co-authored-by: Edmo Vamerlatti Costa <11836452+edmocosta@users.noreply.github.com>
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.

[pkg/ottl] New function ParseInt()

5 participants