Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

chore: propagate otel context in Connection API#3078

Merged
olavloite merged 2 commits intomainfrom
use-task-wrapping-executor-for-connection-api
May 2, 2024
Merged

chore: propagate otel context in Connection API#3078
olavloite merged 2 commits intomainfrom
use-task-wrapping-executor-for-connection-api

Conversation

@olavloite
Copy link
Copy Markdown
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 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 May 1, 2024 16:17
@olavloite olavloite merged commit 0894893 into main May 2, 2024
@olavloite olavloite deleted the use-task-wrapping-executor-for-connection-api branch May 2, 2024 06:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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