Skip to content

Add isolate lifecycle signals to worker spans - #1694

Merged
RhysSullivan merged 1 commit into
mainfrom
o11y/isolate-lifecycle
Aug 19, 2026
Merged

Add isolate lifecycle signals to worker spans#1694
RhysSullivan merged 1 commit into
mainfrom
o11y/isolate-lifecycle

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

No description provided.

Every span we emit starts inside the fetch handler, so nothing could tell
a cold isolate paying Start's loadEntries import from an isolate that came
up slowly before our code ran. Measured with a temporary entry-lag probe
against wrangler tail event timestamps: a cold isolate spends 840-1844ms
before our first line, a reused one 0-2ms.

Stamp request_seq and start_graph.entered on the worker spans so cold-vs-warm
is queryable from Axiom without a probe. Also drops a stray plans file that
#1692 swept in via git add -A.
@RhysSullivan
RhysSullivan merged commit cd9b978 into main Aug 19, 2026
0 of 2 checks passed
@RhysSullivan
RhysSullivan deleted the o11y/isolate-lifecycle branch August 19, 2026 15:16
@github-actions

github-actions Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant