How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Workers - Workers tracing — new getActiveSpan(), recordException(), startSpan(), and setAttributes() APIs

calendar_today September 25, 2026 domain cloudflare

Custom spans in Workers now support more of the OpenTelemetry span API, so you can instrument more of your code and record errors directly on your spans. tracing.startSpan(name) creates a span without making it the active span, and returns it. Other spans do not nest under it.

open_in_new Read original post