Tracing for messaging systems: add API to extract context #3319
Labels
enhancement
New feature or request
Event Hubs
feature-request
This issue requires a new behavior in the product in order be resolved.
Monitor - ApplicationInsights
Monitor - Exporter
Monitor OpenTelemetry Exporter
Service Bus
When app receives a message, messaging SDKs extract context from each message and create a processing span/activity from it.
In many cases users may want to do it explicitly
Track1 EventHubs and ServiceBus .NET SDKs provided ExtractActivity API to deal with it, but there is no such method in Track2 (any language).
This should be available in .NET and return ActivityContext, in other languages it should be provided through the OpenTelemetry plugin and return
SpanContext
. As a result, it should work (on par or better than Track1) with existing tracing solutions: Application Insights .NET SDK or OpenTelemetry across all languages.The text was updated successfully, but these errors were encountered: