Skip to content

Instrument Cloudflare Worker RPC methods #16898

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!

JS-680

Activity

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

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions