Skip to content

Support Dynamic Workers #19962

@JPeer264

Description

@JPeer264

Problem Statement

Dynamic Workers were added to sandbox code you can't trust.

Some more info for Dynamic Workers:
Blog post: https://blog.cloudflare.com/dynamic-workers/
Dev docs: https://developers.cloudflare.com/dynamic-workers/
Examples you can get started with: https://developers.cloudflare.com/dynamic-workers/getting-started/#try-it-out
Worker-bundler: https://www.npmjs.com/package/@cloudflare/worker-bundler

Currently I assume that nothing would happen once this spins up and they won't get instrumented.

Solution Brainstorm

We would need at least a new span around the newly spawned worker, to see how long this worker runs.

We could also add an additional option to instrument the dynamic worker as well.

Additional Context

No response

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions