Sentry is easy for a coding agent to wire in. Signup needed no card or phone. The "set up with your coding agent" handoff logged the new sentry CLI in without a browser in 21 s. Errors from Express and FastAPI were readable through the API in a median of 14–16 s (p95 19–24 s). Two traps:
- The default SDKs silently dropped 50–68% of a 200-error burst on the client. The billing page still said "Total Dropped 0".
- `@sentry/node` sends raw JSON request bodies, passwords included. Sentry's server-side scrubber filtered the password on storage, but it still left the app.
| Sentry, 2026-12-02, client in India | Result | |---|---| | Signup | Email + password, invisible reCAPTCHA (no challenge), no card/phone; confirm email arrived in 8 s | | Plan as assigned | Developer plan (5,000 errors/month) plus a 14-day Business trial: 1M errors until 2026-12-16 | | Agent handoff (curl … \| SENTRY_HANDOFF=<code> bash) | CLI installed and logged in, 21 s, no browser | | Create project + get DSN (CLI) | 2.0–3.0 s each, fully headless | | @sentry/wizard 9.1.0 --non-interactive | Still waits for a browser login; ignores SENTRY_AUTH_TOKEN; 0 files changed | | Error → readable in API, 20 errors each | Node p50 15.8 s / p95 23.7 s; Python p50 13.9 s / p95 18.9 s (poll resolution ~2.3 s) | | 200 errors in 0.3–1.5 s, default config | 99, 64 (Node) and 72 (Python) of 200 stored; no 429 from Sentry | | Same burst, bigger SDK queue | 200/200 (Node and Python) | | Vite build, no source maps | Frames Qc, $c, el at line 2, col 90401+ | | Vite build + @sentry/bundler-plugins | Readable computeTotal (src/deep.js:4); build 59 ms → 6.0 s | | Local MCP (sentry mcp) | 76 tools, 309 KB tools/list (~77k tokens); hosted mcp.sentry.dev is OAuth-only |
Sentry's agent handoff gets a CLI login without a browser, but not an org token
After email verification, Sentry's onboarding page shows a prompt to paste into an agent. It points to sentry.io/agent-handoff.md and gives a one-time sntryh_ code. Running curl -fsSL https://cli.sentry.dev/install | SENTRY_HANDOFF=<code> bash installed sentry 0.51.0 and printed Authenticated as <test-account-email>. From there, sentry project create org/obs-node:node-express returned a DSN in 2–3 s. The installer also writes an agent skill to ~/.agents/skills/ and ~/.claude/skills/ and appends to ~/.bashrc.
The handoff login can't create the org token that source-map uploads need:
Error: Not allowed to manage org auth tokens Your saved login doesn't include org:tokens, org:read, org:ci. Re-authorization needs an interactive terminal and is skipped with --yes, --json, or --dry-run.sentry auth refresh --scope org:ci --scope org:tokens … prints a device code that a person approves in the browser. After that, sentry token create org/name --json works headlessly.
@sentry/wizard --non-interactive still needs a browser
npx @sentry/wizard@9.1.0 -i sourcemaps --non-interactive --saas --org … --project …:
- With no SDK in package.json, it opened a prompt and crashed:
SystemError [ERR_TTY_INIT_FAILED]. - With the SDK installed, it printed a
sentry.io/account/settings/wizard/<hash>/link and spun on "Waiting for you to log in" until our timeout. - Setting
SENTRY_AUTH_TOKENchanged nothing.
Sentry's own agent guide says to skip it.
Sentry SDKs drop error bursts on the client, and the usage page doesn't show it
We sent 200 requests to a throwing Express route at concurrency 10, with the docs' setup (tracesSampleRate: 1.0). Only 99 errors reached Sentry; a repeat run stored 64. FastAPI stored 72 of 200. Sentry returned no 429. The org stats API shows where the rest went: outcome: client_discard, reason: queue_overflow (237 Node errors, 128 Python errors, plus spans). The Subscription page reported "Total Dropped 0", and the apps logged nothing.
The cause is the SDKs' send queues: @sentry/core has DEFAULT_TRANSPORT_BUFFER_SIZE = 64 and sentry_sdk has DEFAULT_QUEUE_SIZE = 100. Raising the queue size fixed it. Each of these got 200/200:
Sentry.init({ dsn, tracesSampleRate: 1.0, transportOptions: { bufferSize: 1000 } }); // @sentry/nodesentry_sdk.init(dsn=..., traces_sample_rate=1.0, transport_queue_size=1000) # sentry-sdkTo catch drops, read GET /api/0/organizations/<org>/stats_v2/?groupBy=outcome&groupBy=reason&category=error, not the billing page.
@sentry/node 11 sends request bodies, passwords included; the server scrubs them
We pointed a bare init({ dsn }) at a local endpoint and sent a request with fake secrets in every field:
- `@sentry/node` 11.22.0 filtered the cookie, the
Authorizationheader and thetoken=query parameter. It sent the JSON body as a raw string:{"email":"jane.doe@example.com","password":"FAKE-BODY-PASSWORD","card":"4242424242424242"}. It also sentuser.ip_addresstaken fromX-Forwarded-For, and a console line with the email as a breadcrumb. With tracing on, the span carried the body again. - `sentry-sdk` 3.0.2 (FastAPI) sent no body. It did send the client IP in
request.envand in the frames' local variables.
The docs say the SDK "always filters sensitive values whose keys match a built-in denylist, such as auth or password". That held for headers and the query string, not for the body. On sentry.io the stored event had password and card as [Filtered], because the project's Data Scrubber is on by default. Email and IP were kept (scrubIPAddresses: false). If the SDK sends to a tunnel, relay or local tool instead, the raw values arrive there. To keep them in the process, turn off dataCollection categories in init.
Minified stacks in Sentry until source maps are uploaded at build time
A Vite production build with no upload produced frames Qc, $c and el at index-*.js:2:90401, plus the event error js_no_source: Source code was not found. With the docs' plugin config (@sentry/bundler-plugins/vite, sourcemap: "hidden", filesToDeleteAfterUpload) and an org token, the next error showed computeTotal at src/deep.js:4 with source lines. The upload made the build 6 s slower from India. It deleted the .map files from dist/, and the plugin sends its own telemetry unless telemetry: false is set.
Reading Sentry errors back from an agent: CLI, API and MCP
- CLI:
sentry issue list org/proj --query "<text>" --jsontook 1.8 s, andsentry issue view OBS-NODE-1 --jsontook 4.1 s.sentry issue explain(Seer) failed: "Seer needs a GitHub or GitLab integration". - API:
GET /projects/<org>/<proj>/events/?query=<text>and/organizations/<org>/issues/?query=<text>found each error at about the same time (medians 15.2 s and 15.0 s for Node). - Grouping: Sentry grouped all 20 errors (different messages, same stack) into one issue, and the issue title switches to the latest message.
- Local MCP:
sentry mcploads 76 tools in a 309 KBtools/list.--skills inspectcuts that to 52 tools and 230 KB. - MCP search without an LLM key:
search_issuesturned "unresolved errors in obs-node from the last hour" intois:unresolvedover 30 days in all projects, without saying so. - Hosted MCP:
mcp.sentry.dev/mcprejected the CLI's token (401 invalid_token); it needs its own OAuth.
Sentry free-plan quota: not testable for the first 14 days
A new org is on the Developer plan with 5,000 errors included, but the trial adds "995K gifted" until 2026-12-16. So the Developer cap and its over-quota behaviour can't be hit in the first two weeks. We'll re-check after the trial ends. The API lists retentionDays: 90 for the plan and 30 days for spans and logs; we didn't wait to verify either.
Method, raw logs, payloads and scripts: repro/NOTES.md. The shared workload (Express + FastAPI + Vite apps, latency/burst/PII scripts) is reused unchanged for other error-tracking reviews. Tested on free plans; paid tiers may differ. Outdated if the SDK queue defaults, the wizard's login, or the trial terms change.