-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 Decode
function
#33942
[pkg/ottl] Add Decode
function
#33942
Conversation
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
# Conflicts: # pkg/ottl/go.mod
Signed-off-by: Florian Bacher <[email protected]>
# Conflicts: # pkg/ottl/go.mod
Signed-off-by: Florian Bacher <[email protected]>
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. I think if we expand the type coverage a bit more we'll be good to go.
Signed-off-by: Florian Bacher <[email protected]>
pkg/ottl/ottlfuncs/README.md
Outdated
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.
We should mark base64decode as deprecated and link to decode in this doc.
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.
good point - i added a deprecation notice to the base64decode function
Signed-off-by: Florian Bacher <[email protected]>
# Conflicts: # pkg/ottl/go.mod # pkg/ottl/go.sum
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
@evan-bradley @TylerHelmuth this one should be ready for another review now |
# Conflicts: # pkg/ottl/go.mod
Signed-off-by: Florian Bacher <[email protected]>
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
# Conflicts: # pkg/ottl/go.mod
# Conflicts: # pkg/ottl/go.mod
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
**Description:** Follow up to #33942. I'd like to share the exact override key strings so that they don't get out of sync. Maybe this is too much effort, but wanted to discuss It looks like there is some more reuse between textutils and stanza, but that could be done in a separate PR.
**Description:** This PR adds a `Decode` function that accepts a string or byte array, and a encoding name as an input and transforms it to UTF-8 **Link to tracking Issue:** open-telemetry#32493 **Testing:** Added unit and e2e tests **Documentation:** Added an entry in the readme to describe the new function --------- Signed-off-by: Florian Bacher <[email protected]> Co-authored-by: Daniel Jaglowski <[email protected]>
**Description:** Follow up to open-telemetry#33942. I'd like to share the exact override key strings so that they don't get out of sync. Maybe this is too much effort, but wanted to discuss It looks like there is some more reuse between textutils and stanza, but that could be done in a separate PR.
Description: This PR adds a
Decode
function that accepts a string or byte array, and a encoding name as an input and transforms it to UTF-8Link to tracking Issue: #32493
Testing: Added unit and e2e tests
Documentation: Added an entry in the readme to describe the new function