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/transform] PoC for performance improvements using dedicated conditions for resource and scope #36497

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

bacherfl
Copy link
Contributor

Description

This is a PoC for potentially improving the performance of the transform processor, using dedicated conditions on the resource and scope level for logs/metrics/traces. These would have the benefit of evaluating e.g. the resource conditions only once per resource, instead of evaluating the statement conditions for e.g. each log record, as it is done now.

Link to tracking issue

Part of #29016

Testing

Added benchmark tests to compare the performance of using resource conditions vs. adding checks for resource attributes into the where clause of the statements

Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Copy link
Contributor

github-actions bot commented Dec 7, 2024

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

@github-actions github-actions bot added the Stale label Dec 7, 2024
@github-actions github-actions bot removed the Stale label Dec 10, 2024
Copy link
Contributor

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

@github-actions github-actions bot added the Stale label Dec 31, 2024
@bacherfl bacherfl removed the Stale label Jan 7, 2025
@github-actions github-actions bot requested a review from edmocosta January 14, 2025 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/transform Transform processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant