Skip to content
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] Update key.Name to be able to invoke a Getter #29883

Merged

Conversation

TylerHelmuth
Copy link
Member

@TylerHelmuth TylerHelmuth commented Dec 14, 2023

Description:
In order to support dynamic indexing we need the key.Name method to be able to invoke Getters during hot path execution.

Link to tracking Issue:
Related to #22744

Testing:
Updated tests

@TylerHelmuth TylerHelmuth requested a review from a team December 14, 2023 15:33
@TylerHelmuth TylerHelmuth added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 14, 2023
@TylerHelmuth
Copy link
Member Author

@evan-bradley I just made a significant change, please take another look

@TylerHelmuth TylerHelmuth changed the title [pkg/ottl] Add error to Name method [pkg/ottl] Update key.Name to be able to invoke a Getter Dec 14, 2023
@TylerHelmuth TylerHelmuth merged commit 091195a into open-telemetry:main Dec 14, 2023
85 checks passed
@github-actions github-actions bot added this to the next release milestone Dec 14, 2023
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Jan 10, 2024
…try#29883)

**Description:** 
In order to support dynamic indexing we need the `key.Name` method to be
able to invoke Getters during hot path execution.

**Link to tracking Issue:** <Issue number if applicable>
Related to
open-telemetry#22744

**Testing:** <Describe what testing was performed and which tests were
added.>
Updated tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/ottl Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants