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

Feat: add bytesconnector #4

Merged
merged 1 commit into from
Jan 29, 2025
Merged

Conversation

OverOrion
Copy link

@OverOrion OverOrion commented Jan 7, 2025

The bytesconnector is based on the countconnector, but instead of emitting 1s for each LogRecords it outputs the size of them, which can be aggregated using deltatocumulativeprocessor.

I removed many parts of the countconnector to make it slimmer for our use-case.

@OverOrion OverOrion changed the base branch from main to axoflow-changes January 13, 2025 08:46
@OverOrion OverOrion changed the base branch from axoflow-changes to main January 13, 2025 08:46
This connector is very similar to the countconnector, except:
- only works on log signals
- counts bytes of the logrecords

Signed-off-by: Szilard Parrag <[email protected]>
@OverOrion OverOrion changed the base branch from main to release-v0.112.0 January 13, 2025 08:59
@OverOrion OverOrion force-pushed the feat/bytesconnector branch from 6135d20 to 15e8b4e Compare January 13, 2025 09:00
@OverOrion OverOrion marked this pull request as ready for review January 24, 2025 15:35
@OverOrion OverOrion requested a review from csatib02 January 24, 2025 15:35
@OverOrion OverOrion mentioned this pull request Jan 24, 2025
1 task
Copy link
Member

@csatib02 csatib02 left a comment

Choose a reason for hiding this comment

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

LGTM!

connector/bytesconnector/connector.go Show resolved Hide resolved
connector/bytesconnector/connector.go Show resolved Hide resolved
@OverOrion OverOrion merged commit 2abb3d3 into release-v0.112.0 Jan 29, 2025
38 of 52 checks passed
@OverOrion OverOrion deleted the feat/bytesconnector branch January 29, 2025 11:56
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.

2 participants