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
Implement shutdown procedure for OTLP grpc exporters #3138
Implement shutdown procedure for OTLP grpc exporters #3138
Changes from 11 commits
3a91378
8bca278
d81f35f
8be9803
b92d2fa
a229f6a
b2e75cf
c512fc9
d8b7ec0
b26c186
05c62d5
ca2cf37
6b9d10b
75b10c8
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.
@girishc13 Can you please help me understand why you are calling
shutdown
on mixin class directly instead of usingsuper()
?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 don't remember the exact details but the
shutdown
method is implemented by both theOTLPExporterMixin
and theSpanExporter
interfaces. The exporter.shutdown is handled by different logic and this pr was targeting the backend client that needs to be shutdown. You need to trace the calls for shutdown from the usage of theOTLPSpanExporter
.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 think the issue maybe due to mixin inheritance being applied incorrectly, currently we have
but usually in python mixin should come before the base class, e.g.
this way,
super().shutdown()
call will correctly useshutdown
method from mixin