Skip to content

[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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

rockdaboot
Copy link
Contributor

@rockdaboot rockdaboot commented May 8, 2025

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

@rockdaboot rockdaboot changed the title [pkg/ottl] Introduce ctxutil.GetMap() and ctxutil.GetMapKeyName() [chore] [pkg/ottl] Introduce ctxutil.GetMap() and ctxutil.GetMapKeyName() internal functions May 8, 2025
@rockdaboot rockdaboot marked this pull request as ready for review May 8, 2025 16:35
@rockdaboot rockdaboot requested a review from a team as a code owner May 8, 2025 16:35
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.

3 participants