-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[chore] [pkg/ottl] Introduce ctxutil.GetMap() and ctxutil.GetMapKeyName() internal functions
#39952
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
Conversation
ctxutil.GetMap() and ctxutil.GetMapKeyName()ctxutil.GetMap() and ctxutil.GetMapKeyName() internal functions
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 for working on it and for adding the extra tests :)
I've left a few suggestions for your consideration.
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.
Thank you for working on that! LGTM!
Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
|
@TylerHelmuth @evan-bradley, could you please review this PR whenever you get the chance? |
|
I think we're good to merge this one, it shouldn't affect existing behavior and is currenlty holding #39681 back. If needed, we can address any concern folks might have in a following PR. Thanks! |
…yName()` internal functions (open-telemetry#39952) These functions have been requested [here](open-telemetry#39681 (comment)) and [here](open-telemetry#39681 (comment)) as prerequisite for OTTL attributes accessors for the profiles signal. Also adds tests for `GetMap()`, that were missing. Unit tests --------- Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
…yName()` internal functions (open-telemetry#39952) #### Description These functions have been requested [here](open-telemetry#39681 (comment)) and [here](open-telemetry#39681 (comment)) as prerequisite for OTTL attributes accessors for the profiles signal. Also adds tests for `GetMap()`, that were missing. #### Testing Unit tests --------- Co-authored-by: Edmo Vamerlatti Costa <[email protected]>
Description
These functions have been requested here and here as prerequisite for OTTL attributes accessors for the profiles signal.
Also adds tests for
GetMap(), that were missing.Testing
Unit tests