-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 Sprintf
OTTL Converter
#33589
[pkg/ottl] Add Sprintf
OTTL Converter
#33589
Conversation
848b010
to
bab07fe
Compare
bab07fe
to
0b2681e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me. Could you also add an E2E test for this function in e2e/e2e_test.go
?
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
0b2681e
to
96f8328
Compare
This adds in a converter that calls `fmt.Sprintf` with a format string and a set of arguments. Signed-off-by: sinkingpoint <[email protected]>
96f8328
to
a848207
Compare
Apologies for the delay here. I think this should be good to go now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sinkingpoint
Description:
This adds in a converter that calls
fmt.Sprintf
with a format string and a set of arguments.Link to tracking Issue: #33405
Testing: Added in a couple of unit tests
Documentation: Added the new converter to the functions readme