Skip to content

Cloudflare R2 instrumentation #20836

Closed

Description

@JPeer264

Problem Statement

R2 bucket API is currently not instsrumented as env.MY_BUCKET.put(key, request.body) wouldn't add any span.

Workers API: https://developers.cloudflare.com/r2/get-started/workers-api/

Methods: get, head, put, delete, list, createMultipartUpload, resumeMultipartUpload

Docs: https://developers.cloudflare.com/r2/

Solution Brainstorm

Like with the queue, we need to add another check for the R2 bucket:

Additional Context

Cross-check with Cloudflare's built-in tracing about their metadata and span description

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.

Activity

  1. linear-code commented on May 12, 2026

    @linear-code
  2. self-assigned this
    on Jun 3, 2026
  3. added a commit that references this issue on Jun 20, 2026
    1024839
  4. github-actions commented on Jun 23, 2026

    @github-actions
    Contributor

    A PR closing this issue has just been released 🚀

    This issue was referenced by PR #21327, which was included in the 10.60.0 release.

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

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions