Disconnect gRPC client stub when shutting down OTLPSpanExporter#4370
Merged
xrmx merged 11 commits intoopen-telemetry:mainfrom Feb 28, 2025
Merged
Disconnect gRPC client stub when shutting down OTLPSpanExporter#4370xrmx merged 11 commits intoopen-telemetry:mainfrom
xrmx merged 11 commits intoopen-telemetry:mainfrom
Conversation
Contributor
|
@xmakro Thanks for the PR, please add a CHANGELOG entry. Can this be tested? |
Contributor
Author
|
I added the change log. I don't see a good way to test the disconnect, since it is the gRPC channel that gets disconnected, but these channels are not exposed on the gRPC server side api. |
xrmx
reviewed
Dec 24, 2024
...pentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc/exporter.py
Outdated
Show resolved
Hide resolved
Contributor
|
@xmakro, do you have time to look into these failures? Or do you mind if I branch and take a stab? |
Contributor
Author
|
The checks report a ruff error. I synced this branch to head, updated ruff and ran the pre-commit and cannot reproduce this error. I'm happy if you can fix this by branching. |
Contributor
Contributor
|
@xmakro just checking in here. Does the PR I sent to your fork make sense. Thanks! |
Ruff Reformat For GRPC Stub
Contributor
Author
|
Looks great, thanks! I merged your PR |
Contributor
|
Nice thank you! @xmakro |
xrmx
approved these changes
Feb 28, 2025
Signed-off-by: emdneto <9735060+emdneto@users.noreply.github.com>
emdneto
approved these changes
Feb 28, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Otherwise the gRPC client will stay connected past the shutdown
Fixes #4429