Skip to content

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

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 22 commits into from
Jul 9, 2025

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.

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
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