Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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] Source Timeout for Providers #33958
[chore] Source Timeout for Providers #33958
Changes from all commits
c0278d9
3776c8e
c086c43
76e73d8
e29ab53
05e9b86
5159e9e
1ad3908
92e8f17
3bd8722
220ba27
7605666
42b9aea
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Any reason to do this here and not at the top level (when we build the source provider)?
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.
I'm a little confused - which part should we move where? Moving the creation of the child context into the
Chain
function?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.
Moving the
WithTimeout
up until we callSource
instead of here. It does mean adding it in more places, which is a bit more annoying. I'll leave what to do up to youAlso, I am now wondering if we want a separate timeout for this or if just the per-OTLP blob timeout added by the exporterhelper works . Probably we want a separate one?
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.
Ah - I think its good to leave in here. I think its good for this logic to be right next to the call site and if we ever want to do something fancier like per source timeout it will be much easier to add it here.
I definitely think we should want a separate timeout for this! the per otlp blob timeout should be used just for the normal export case - not the occasions we're blocked on fetching a source.