Records Rust spans in the Workers Observability trace waterfall, next to the automatic fetch
spans:
enter_span_async/enter_spanwrap the request and its steps in spans.- Two upstream fetches run concurrently, each nested under its own span.
WorkersLayer(src/layer.rs) recordstracingspans and events as platform spans and attributes, so#[instrument]andinfo!show up with no Workers-specific code.
Tracing must be enabled for the Worker; see wrangler.toml.
npx wrangler deploy