Fix async context propagation #12880
Labels
cpp: opentelemetry
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Our tracing connection spans for asynchronous operations are still active in the continuations (the
.then()
s). They should not be. These continuations happen after the operation completes.This is especially problematic when we try to chain multiple asynchronous calls together. They show up as children of each other instead of siblings.
Googlers can see go/cloud-cxx:otel-async-context-propagation-dd for more details.
OTelContext
infrastructureOTelContext
in ourCallContext
.The text was updated successfully, but these errors were encountered: