Skip to content

Cloudflare R2 instrumentation #20836

@JPeer264

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.

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