Tracer.addSpanLink should take two contexts #28953
Labels
Azure.Core.V2
Contains issues to consider when desiging Azure Core V2
Azure.Core
azure-core
Client
This issue points to a problem in the data-plane of the library.
OpenTelemetry
OpenTelemetry instrumentation
azure-sdk-for-java/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java
Lines 551 to 553 in 9e44afc
When we add a link to the span, we have two independent contexts:
Send
orProcess
spanCurrently, we have to merge two contexts, but it's not efficient and not correct.
We need an api on tracer that would take two Contexts like
addSpanLink(Context shared, Context link)
The text was updated successfully, but these errors were encountered: