Skip to content

chore: propagate otel context in Connection API #3078

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

Merged
merged 2 commits into from
May 2, 2024

Conversation

olavloite
Copy link
Collaborator

Use a TaskWrapping executor in the Connection API to propagate the current OpenTelemetry context to the executor thread. This ensures that the context that is used in the end-user application is propagated to the Spanner client library, and tracing shows a full view of the spans from the application to the gRPC layer.

Use a TaskWrapping executor in the Connection API to propagate the
current OpenTelemetry context to the executor thread. This ensures
that the context that is used in the end-user application is
propagated to the Spanner client library, and tracing shows a full
view of the spans from the application to the gRPC layer.
@olavloite olavloite requested a review from a team as a code owner May 1, 2024 16:15
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner API. labels May 1, 2024
@olavloite olavloite requested a review from a team as a code owner May 1, 2024 16:17
@olavloite olavloite merged commit 0894893 into main May 2, 2024
33 of 34 checks passed
@olavloite olavloite deleted the use-task-wrapping-executor-for-connection-api branch May 2, 2024 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants