[FEATURE REQ] Support e2e tracing for CloudEvents in Microsoft.Azure.WebJobs.Extensions.EventGrid #25722
Labels
Client
This issue points to a problem in the data-plane of the library.
Functions
Monitor - Exporter
Monitor OpenTelemetry Exporter
Monitor
Monitor, Monitor Ingestion, Monitor Query
Milestone
Library name
Microsoft.Azure.WebJobs.Extensions.EventGrid
Please describe the feature.
EventGrid client SDKs populate distributed tracing extension with trace context. To leverage it and enable proper e2e tracing in Functions and WebJobs, the extension should read this context and continue the trace
Below is the code users need to write now (specific to Application Insights, but
Microsoft.Azure.WebJobs.Extensions.EventGrid
can useSystem.Diagnostics.Activity
only and Functions already do the trick with Application Insights).For
IAsyncCollector<CloudEvent>
overload, it gets tricky and we'd have to useActivitySource
to properly populate links.Users would likely want to be able to extract context for individual events, it's tracked here Azure/azure-sdk#3319
The text was updated successfully, but these errors were encountered: