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

[processor/resourcedetectionprocessor] Add attribute allowlist to Resource Detection Processor #8547

Merged
merged 11 commits into from
Mar 22, 2022

Conversation

TylerHelmuth
Copy link
Member

Description:
This PR adds to the resource detection process the ability to specify exactly which attributes should be appended to telemetry. When the new attributes config is used, only attributes whose names are included in the list will be added.

Link to tracking Issue:
#8242

Testing:
Unit tests and testing with local build of the collector. Updated existing unit tests to check that Detect works with the new setting. Added tests for new FilterAttributes method.

Documentation:
Updated the resource detection processor's config documentation

Copy link
Contributor

@pmm-sumo pmm-sumo left a comment

Choose a reason for hiding this comment

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

I think it looks good overall, one small comment on maybe logging more details on the filtering (if happens)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants