Cloudflare Workers adds custom tracing spans that can stay open across async work
irvinebroque · x · 2026-07-29
Cloudflare Workers now exposes built-in tracing APIs, tracing.startActiveSpan() and span.end(), for spans that need to stay open beyond a single callback.
The update extends the existing tracing.enterSpan() API, which auto-closes spans when a callback returns. With startActiveSpan(), developers can keep a span alive while work continues asynchronously, then close it manually with span.end().
Cloudflare highlights use cases like streaming pipelines, where instrumentation needs to remain open until the full stream is consumed or cancelled.
Related event: Cloudflare Workers Introduces Cross-Async Tracing API(2 posts)→
More from Infra
- Kimi K3 runs on vLLM + AMD from Day 0, supporting 2.8T params on Instinct — vllm_project · 2026-07-30
- RSI Advances to Drive Exponential Compute Demand, Bullish on AI Chip Stocks — firstadopter · 2026-07-30
- The AI Investment Paradox: Why Google's $800B Infrastructure Bet Spooked the Market — DavidLinthicum · 2026-07-30
- Vera Rubin NVL72 Delivers 5x Inference Performance Per Watt Over GB200 — downingARK · 2026-07-30
- Report: Huawei Could Meet Half of China's AI Compute Demand by 2028 — teortaxesTex · 2026-07-30
- Italy and US to Sign 'Pax Silica' Agreement Securing AI Supply Chains — Polymarket · 2026-07-30