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

[receiver/otlpjsonfile] append token.Attributes to scoped attribute of the signal #36715

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

Conversation

khushijain21
Copy link
Contributor

Description

It loops through token.Attributes and appends it to the scoped attribute of the signal

Link to tracking issue

Fixes #36641

Testing

Added UT

Documentation

@khushijain21 khushijain21 requested review from djaglowski, atoulme and a team as code owners December 8, 2024 10:40
@khushijain21 khushijain21 changed the title [receiver/otlpjsonfile] add token.Attributes to final signal [receiver/otlpjsonfile] append token.Attributes to scoped attribute of the signal Dec 8, 2024
@VihasMakwana
Copy link
Contributor

@khushijain21 please an entry to changelog. This is a user-facing bug fix.

component: otlpjsonfilereceiver

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Parse token.attributes and append it to the log record
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's token.attributes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know :) Can you please make it more explicit for folks reading the changelog who might not know what that is?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh okay ;)

@atoulme
Copy link
Contributor

atoulme commented Dec 17, 2024

Please resolve the conflict, fix the changelog message, and we'll be good to go.

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.

[receiver/otlpjsonfile] File name not included as part of attributes
4 participants