Skip to content

Instrument Cloudflare Worker RPC methods #16898

Open
@timfish

Description

@timfish

Description

Currently our withSentry function only instruments known methods on the handler like fetch, schedule etc.

Like for Durable Objects, Cloudflare lets you add other methods to your exported object which are exposed as RPC endpoints which can be called from other workers:
https://developers.cloudflare.com/workers/runtime-apis/rpc/

We already do this for durable objects so we should do instrument these for workers too!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions