Skip to content

docs: Add distributed tracing for RPC in Cloudflare#17541

Open
JPeer264 wants to merge 4 commits intomasterfrom
jp/rpc-instrument
Open

docs: Add distributed tracing for RPC in Cloudflare#17541
JPeer264 wants to merge 4 commits intomasterfrom
jp/rpc-instrument

Conversation

@JPeer264
Copy link
Copy Markdown
Member

DESCRIBE YOUR PR

This documents the enableRpcTracePropagation option which was implemented over time. Full support started from v10.51.0 (which is currently getting released)

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+ (we are actually releasing today, but it is documented in the changelogs too)

SLA

  • Teamwork makes the dream work, so please add a reviewer to your PRs.
  • Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it.
    Thanks in advance for your help!

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

LEGAL BOILERPLATE

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

EXTRA RESOURCES

@JPeer264 JPeer264 requested review from a team April 29, 2026 12:58
@JPeer264 JPeer264 self-assigned this Apr 29, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment May 11, 2026 8:35am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview May 11, 2026 8:35am

Request Review

Copy link
Copy Markdown
Member

@s1gr1d s1gr1d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just two text suggestions :)

Comment thread platform-includes/distributed-tracing/how-to-use/javascript.cloudflare.mdx Outdated
Comment thread platform-includes/distributed-tracing/how-to-use/javascript.cloudflare.mdx Outdated
JPeer264 and others added 2 commits May 4, 2026 11:59
…oudflare.mdx

Co-authored-by: Sigrid <32902192+s1gr1d@users.noreply.github.com>
…oudflare.mdx

Co-authored-by: Sigrid <32902192+s1gr1d@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@sfanahata sfanahata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤘

Comment thread platform-includes/distributed-tracing/how-to-use/javascript.cloudflare.mdx Outdated
@JPeer264 JPeer264 enabled auto-merge (squash) May 11, 2026 08:26

### RPC Trace Propagation

<AvailableSince version="10.52.0" />
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The <AvailableSince> tag for enableRpcTracePropagation incorrectly states version 10.52.0 instead of the correct version 10.51.0.
Severity: LOW

Suggested Fix

Update the <AvailableSince> tag in javascript.cloudflare.mdx to reflect the correct version. Change <AvailableSince version="10.52.0" /> to <AvailableSince version="10.51.0" />.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: platform-includes/distributed-tracing/how-to-use/javascript.cloudflare.mdx#L7

Potential issue: The documentation file `javascript.cloudflare.mdx` specifies that the
`enableRpcTracePropagation` feature is available since version `10.52.0`. However,
according to the pull request description and the sentry-javascript changelog, full
support for this feature was introduced in version `10.51.0`. This discrepancy will
mislead users on version `10.51.0`, making them believe they need to upgrade
unnecessarily to use the feature.

Did we get this right? 👍 / 👎 to inform future reviews.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants