Skip to content

[pkg/stanza] Ensure filter operator does not split batches of entries#45161

Merged
ChrsMark merged 10 commits intoopen-telemetry:mainfrom
paulojmdias:fix/42391
Feb 16, 2026
Merged

[pkg/stanza] Ensure filter operator does not split batches of entries#45161
ChrsMark merged 10 commits intoopen-telemetry:mainfrom
paulojmdias:fix/42391

Conversation

@paulojmdias
Copy link
Member

Description

Updates the filter operator to process batches of entries without splitting them. The parser now writes all entries as a single batch, rather than processing them individually.

Link to tracking issue

Fixes #42391

Testing

Added unit tests to ensure the batches are not split.

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

…-contrib into fix/42391

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
…ector-contrib into fix/42391

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
…-contrib into fix/42391

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
@andrzej-stencel andrzej-stencel added ready to merge Code review completed; ready to merge by maintainers and removed waiting-for-code-owners labels Feb 15, 2026
@ChrsMark ChrsMark merged commit fcefb9b into open-telemetry:main Feb 16, 2026
223 of 224 checks passed
@paulojmdias paulojmdias deleted the fix/42391 branch February 16, 2026 08:34
geekdave pushed a commit to oso-team/opentelemetry-collector-contrib that referenced this pull request Feb 20, 2026
…open-telemetry#45161)

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Updates the `filter` operator to process batches of entries without
splitting them. The parser now writes all entries as a single batch,
rather than processing them individually.

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

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

Added unit tests to ensure the batches are not split.

---------

Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
Co-authored-by: Andrzej Stencel <andrzej.stencel@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg/stanza ready to merge Code review completed; ready to merge by maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[pkg/stanza] filter operator should not split batches of entries

5 participants