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

[chore] [processor/groupbyattrs] clarify compaction occurs even when no key matches #31027

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

anuraaga
Copy link
Contributor

@anuraaga anuraaga commented Feb 5, 2024

I expected the processor to be a complete no-op if no attribute keys match, but I noticed that it still does perform compaction, as if the processor was configured with an empty config (no keys). In some sense it feels like having both grouping and compaction features in one processor is confusing, but it's not that bad in practice but this doc clarification can make it less surprising.

@anuraaga anuraaga requested review from a team and djaglowski February 5, 2024 06:07
@github-actions github-actions bot added the processor/groupbyattrs Group By Attributes processor label Feb 5, 2024
@anuraaga anuraaga changed the title Clarify compaction occurs even when no key matches [chore] [processor/groupbyattrs] clarify compaction occurs even when no key matches Feb 5, 2024
Copy link
Member

@djaglowski djaglowski left a comment

Choose a reason for hiding this comment

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

LGTM, but let's give a chance for @rnishtala-sumo to review as code owner.

@djaglowski djaglowski added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Feb 5, 2024
@djaglowski djaglowski merged commit 31d5f56 into open-telemetry:main Feb 14, 2024
145 of 148 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 14, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
…no key matches (open-telemetry#31027)

I expected the processor to be a complete no-op if no attribute keys
match, but I noticed that it still does perform compaction, as if the
processor was configured with an empty config (no keys). In some sense
it feels like having both grouping and compaction features in one
processor is confusing, but it's not that bad in practice but this doc
clarification can make it less surprising.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/groupbyattrs Group By Attributes processor Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants