Skip to content

[chore][pkg/pdatatest] Fix Attribute.Transform() by using pprofile.PutAttribute()#41205

Merged
TylerHelmuth merged 2 commits into
open-telemetry:mainfrom
rockdaboot:fix-pkg-pdatatest
Jul 9, 2025
Merged

[chore][pkg/pdatatest] Fix Attribute.Transform() by using pprofile.PutAttribute()#41205
TylerHelmuth merged 2 commits into
open-telemetry:mainfrom
rockdaboot:fix-pkg-pdatatest

Conversation

@rockdaboot
Copy link
Copy Markdown
Contributor

Description

After the recent changes in pprofile, Attribute.Transform() needs to make use of pprofile.PutAttribute() instead of directly manipulating data structures.

This change is split out of #39974.

@github-actions github-actions Bot requested a review from fatsheep9146 July 9, 2025 09:38
@rockdaboot rockdaboot changed the title [pkg/pdatatest] Fix Attribute.Transform() by using pprofile.PutAttribute() [chore] [pkg/pdatatest] Fix Attribute.Transform() by using pprofile.PutAttribute() Jul 9, 2025
@rockdaboot rockdaboot marked this pull request as ready for review July 9, 2025 09:39
@rockdaboot rockdaboot requested a review from a team as a code owner July 9, 2025 09:39
@rockdaboot rockdaboot changed the title [chore] [pkg/pdatatest] Fix Attribute.Transform() by using pprofile.PutAttribute() [chore][pkg/pdatatest] Fix Attribute.Transform() by using pprofile.PutAttribute() Jul 9, 2025
@TylerHelmuth TylerHelmuth merged commit 0bd2d9a into open-telemetry:main Jul 9, 2025
177 checks passed
@github-actions github-actions Bot added this to the next release milestone Jul 9, 2025
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
…tAttribute() (open-telemetry#41205)

#### Description
After the recent changes in pprofile, `Attribute.Transform()` needs to
make use of `pprofile.PutAttribute()` instead of directly manipulating
data structures.

This change is split out of
open-telemetry#39974.
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.

4 participants