-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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] add receiver adapter benchmark tests #35833
[chore] add receiver adapter benchmark tests #35833
Conversation
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for putting this together @bacherfl.
This looks good. The one thing we should consider is the content of the log. I think an empty log will bypass a lot of the conversion and batching logic, so we may need to find a more complex structure. The simplicity of the input operator itself is great though. The entry/entries should probably be pre-generated so that we're not measuring the work of creating them.
Signed-off-by: Florian Bacher <[email protected]>
Signed-off-by: Florian Bacher <[email protected]>
Thanks for the review @djaglowski! I have updated the PR now to generate a complex log entry which will be used by the input operator during the tests |
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description This PR introduces a benchmark test for the receiver adapter which tests the performance of handling the log entries sent to the `LogEmitter`, which are then received and converted by the receiver adapter. The changes have been made based on the comment linked here: open-telemetry#35669 (comment) <!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. --> #### Link to tracking issue Part of open-telemetry#35453 <!--Describe what testing was performed and which tests were added.--> #### Testing Added additional benchmark tests --------- Signed-off-by: Florian Bacher <[email protected]>
Description
This PR introduces a benchmark test for the receiver adapter which tests the performance of handling the log entries sent to the
LogEmitter
, which are then received and converted by the receiver adapter. The changes have been made based on the comment linked here: #35669 (comment)Link to tracking issue
Part of #35453
Testing
Added additional benchmark tests