Skip to content
Commit Detail

Commit a0e61e3

Author
Felix Hanau <felix@cloudflare.com> 2025-10-21 16:25:39 -0400
Parents
ebeeae2
Tree
9a60233
EW-9372 EW-9455 [o11y] Prepare reporting SpanOpen event earlier

This PR serves to perform two long-standing cleanup tasks in the STW
implementation:
1) Sending the SpanOpen event as soon as a span is opened instead of when it
   closes
2) Getting rid of the CompleteSpan struct, which represents a full span but is
   something that won't be needed once SpanOpen is handled separately.

To implement this in a backwards-compatible way, we need to land it in two parts
so that the old code path and the new code path are both supported until we have
phased out the old version which doesn't have the APIs for handling SpanOpen
separately.

Files changed

6 files changed~6 modified