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

Allow timeout to be specified in OTel endpoint config #897

Merged
merged 6 commits into from
Feb 17, 2023

Conversation

aimichelle
Copy link
Member

Summary: #889 adds a timeout to the OTel collector request. This PR allows the user to specify the timeout, which is propagated to the plan node. Once this PR is merged, #889 can be updated to use the timeout from the plan node, and if none is specified, uses a default.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Updated unit tests

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
@@ -137,6 +137,8 @@ message OTelEndpointConfig {
map<string, string> headers = 2;
// True if the OpenTelemetry collector is not protected with SSL.
bool insecure = 3;
// The out of time in seconds before the request to the OTel collector should timeout.
Copy link
Member

Choose a reason for hiding this comment

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

nit: amount

also should probably mention the default timeout here.

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
@aimichelle aimichelle merged commit 1eb505e into pixie-io:main Feb 17, 2023
RagalahariP pushed a commit to RagalahariP/pixie that referenced this pull request Mar 23, 2023
Summary: pixie-io#889 adds a timeout to the OTel collector request. This PR
allows the user to specify the timeout, which is propagated to the plan
node. Once this PR is merged, pixie-io#889 can be updated to use the timeout
from the plan node, and if none is specified, uses a default.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: Updated unit tests

---------

Signed-off-by: Michelle Nguyen <michellenguyen@pixielabs.ai>
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