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

Always use a new ctx when shutting down otel #26

Open
wants to merge 1 commit into
base: gadget_dev_1_20
Choose a base branch
from

Conversation

scott-rc
Copy link

This makes the OTEL shutdown function always use a new context with a 30 second timeout, rather than using a new context if the passed in one is already cancelled. This avoids using a context that is about to expire (instead of having already expired).

@scott-rc scott-rc mentioned this pull request Feb 15, 2024
@angelini
Copy link

Makes sense, but if we aren't seeing anything wrong in prod I don't think this is worth a Fission deploy

@scott-rc
Copy link
Author

Makes sense, but if we aren't seeing anything wrong in prod I don't think this is worth a Fission deploy

Agreed. I'll keep this PR around in case it does start happening.

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