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][Testbed] - Try flushing the data before exiting in load generator #35211

Merged

Conversation

VihasMakwana
Copy link
Contributor

Description: In the LoadGenerator, if we encounter a non-permanent error and are in the process of retrying, we should not immediately exit upon receiving a stop signal. Instead, we need to first flush the existing data and then proceed to exit the LoadGenerator. This is necessary for stress test cases and we need to validate the data received and data sent.

@VihasMakwana VihasMakwana changed the title [Testbed] - Flush the data before exiting in load generator [Testbed] - Try flushing the data before exiting in load generator Sep 17, 2024
@bacherfl
Copy link
Contributor

bacherfl commented Sep 19, 2024

LGTM, so putting my approval here for what it's worth :)

I think the title of the PR can be changed to start with [chore], to skip the changelog check (which afaik is not required for test code)

@VihasMakwana VihasMakwana changed the title [Testbed] - Try flushing the data before exiting in load generator [chore][Testbed] - Try flushing the data before exiting in load generator Sep 19, 2024
@VihasMakwana VihasMakwana requested a review from a team as a code owner September 19, 2024 12:58
@VihasMakwana
Copy link
Contributor Author

@TylerHelmuth @open-telemetry/collector-contrib-approvers can some take a look at this?

@VihasMakwana
Copy link
Contributor Author

@open-telemetry/collector-contrib-approvers can I get a quick approval here? this is needed for #35209

@djaglowski djaglowski merged commit 2ac31be into open-telemetry:main Sep 24, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Sep 24, 2024
jriguera pushed a commit to springernature/opentelemetry-collector-contrib that referenced this pull request Oct 4, 2024
…ator (open-telemetry#35211)

**Description:** In the `LoadGenerator`, if we encounter a non-permanent
error and are in the process of retrying, we should not immediately exit
upon receiving a stop signal. Instead, we need to first flush the
existing data and then proceed to exit the LoadGenerator. This is
necessary for stress test cases and we need to validate the data
received and data sent.

---------

Co-authored-by: Daniel Jaglowski <jaglows3@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants