Skip to content

[connector/signaltometrics] Introduce optional config for attributes #38830

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

Merged

Conversation

lahsivjar
Copy link
Member

@lahsivjar lahsivjar commented Mar 20, 2025

Description

optional attribute filtering allows to preserve attributes as they are in the input signal.

Link to tracking issue

Fixes #38600

Testing

Test cases added

Documentation

Updated readme.

@lahsivjar lahsivjar changed the title [connector/signaltometrics] Introduce passthrough config for attributes [connector/signaltometrics] Introduce optional config for attributes Mar 21, 2025
@MovieStoreGuy
Copy link
Contributor

I'll wait for approval from the code owners before merging the changes.

@lahsivjar
Copy link
Member Author

@MovieStoreGuy, the code owner approval is in. Can we merge this now? I am hoping to have this available in the next release.

@ChrsMark ChrsMark added the ready to merge Code review completed; ready to merge by maintainers label Apr 10, 2025
@ChrsMark
Copy link
Member

Looks good to go. I added ready-to-merge, if CI is happy this can be merged.

@lahsivjar
Copy link
Member Author

There was a small compilation error due to #38643 PR merged - I have fixed it now, so should be good to go!

@lahsivjar
Copy link
Member Author

The lint failures are unrelated to this PR and are coming from splunkenterprisereceiver component. These checks are also failing on other PRs as well as on main.

@andrzej-stencel andrzej-stencel merged commit 3b222db into open-telemetry:main Apr 11, 2025
171 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 11, 2025
akshays-19 pushed a commit to akshays-19/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2025
open-telemetry#38830)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
`optional` attribute filtering allows to preserve attributes as they are
in the input signal.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes
open-telemetry#38600

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Test cases added

<!--Describe the documentation added.-->
#### Documentation
Updated readme.

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Christos Markou <[email protected]>
Fiery-Fenix pushed a commit to Fiery-Fenix/opentelemetry-collector-contrib that referenced this pull request Apr 24, 2025
open-telemetry#38830)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
`optional` attribute filtering allows to preserve attributes as they are
in the input signal.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes
open-telemetry#38600

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Test cases added

<!--Describe the documentation added.-->
#### Documentation
Updated readme.

<!--Please delete paragraphs that you did not use before submitting.-->

---------

Co-authored-by: Christos Markou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connector/signaltometrics ready to merge Code review completed; ready to merge by maintainers waiting-for-code-owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[connector/signaltometrics] Implement optional attribute filtering
5 participants