Skip to content

chore(cloudflare): sample 30% of worker traces - #1314

Merged
betegon merged 2 commits into
mainfrom
chore/cloudflare-traces-sample-rate
Sep 17, 2026
Merged

betegon merged 2 commits into
mainfrom
chore/cloudflare-traces-sample-rate

Conversation

@betegon

@betegon betegon commented Sep 17, 2026

Copy link
Copy Markdown
Member

Summary

The hosted Cloudflare MCP worker currently sends 100% of traces. Drop tracesSampleRate to 0.3 so production tracing stays useful without saturating quota.

Error events are unchanged (still 100%). The web client is also unchanged.

Key Changes

  • Set worker tracesSampleRate to 0.3

Breaking Changes

  • None

Test plan

  • After deploy, confirm traces still show up in Sentry at ~30% volume

betegon and others added 2 commits September 17, 2026 11:43
100% tracing on the hosted MCP worker is more volume than we need.
Drop tracesSampleRate to 0.3 so we keep enough signal without
sending every transaction.

Co-Authored-By: Cursor Grok 4.6 <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the 30% sampling change without an extra assertion on the config value.

Co-Authored-By: Cursor Grok 4.6 <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@betegon
betegon marked this pull request as ready for review September 17, 2026 09:53
@betegon
betegon merged commit e61c188 into main Sep 17, 2026
19 checks passed
@betegon
betegon deleted the chore/cloudflare-traces-sample-rate branch September 17, 2026 09:59
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.

1 participant