[Tracer] (Event Grid 4/5) Add Azure Functions support - #8914
pablomartinezbernardo wants to merge 1 commit into
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
BenchmarksBenchmark execution time: 2026-10-02 13:30:12 Comparing candidate commit 23ca62d in PR branch Found 2 performance improvements and 11 performance regressions! Performance is the same for 59 metrics, 0 unstable metrics, 74 known flaky benchmarks, 51 flaky benchmarks without significant changes.
|
49fa28b to
deb530a
Compare
4b804a8 to
4e4e326
Compare
4e4e326 to
5613f67
Compare
deb530a to
2dcd501
Compare
4e4e326 to
5613f67
Compare
| // 7 spans total: 1 health-check ping + 6 meaningful spans | ||
| // Wait for at least 7 spans (1 health-check ping + 6 meaningful). | ||
| var allSpans = await agent.WaitForSpansAsync(7, timeoutInMilliseconds: 30000, returnAllOperations: true); | ||
| // Filter out the health-check ping used to detect host readiness | ||
| var spans = allSpans.Where(s => s.Resource != "GET /admin/host/ping").ToImmutableList(); | ||
| var filteredSpans = allSpans.Where(s => s.Resource != "GET /admin/host/ping").ToImmutableList(); | ||
| var manualSpan = filteredSpans.FirstOrDefault(s => s.Name == "Manual inside ServiceBusTrigger"); | ||
| var sendSpan = filteredSpans.FirstOrDefault(s => s.Name == "azure_servicebus.send"); | ||
| var spans = filteredSpans | ||
| .Where(s => s.TraceId == manualSpan?.TraceId || s.TraceId == sendSpan?.TraceId) | ||
| .ToImmutableList(); |
There was a problem hiding this comment.
Event hubs was already doing this, I saw some errors happening because of this, fixing it here
5613f67 to
f532080
Compare
2dcd501 to
2adf2d3
Compare
f532080 to
9c329a7
Compare
2adf2d3 to
5e098c3
Compare
5e098c3 to
7f77047
Compare
9c329a7 to
0d76d64
Compare
e0ef388 to
5e19764
Compare
73fd3c4 to
7a79f7a
Compare
ddf0a72 to
27f0125
Compare
7a79f7a to
183a4ea
Compare
27f0125 to
b672698
Compare
183a4ea to
6443b33
Compare
b672698 to
a0927c4
Compare
4624d38 to
68761f7
Compare
b4f4a8d to
699858f
Compare
68761f7 to
471832a
Compare
699858f to
4dc5947
Compare
471832a to
920c7e1
Compare
4dc5947 to
31f286b
Compare
920c7e1 to
2ad6d60
Compare
2ad6d60 to
84a8fbd
Compare
31f286b to
29271bb
Compare
84a8fbd to
e74ac08
Compare
29271bb to
23ca62d
Compare

Summary of changes
azure_eventgrid.receivespans linked to producer spans and propagate baggage to function invocations.Reason for change
Complete Azure Event Grid trace correlation through Azure Functions while preserving producer/consumer causality.
Implementation details
DD_TRACE_AZURE_EVENTGRID_BATCH_LINKS_ENABLEDto control producer span links.Test coverage
Other details
This PR is part of a larger Graphite stack.