Skip to content

[Infra] Configure Sentry properly (release, source maps, PII scrubbing, sample rates) #17

@grantfox-oss

Description

@grantfox-oss

Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0

Why this matters

Sentry config files exist (sentry.client.config.ts, sentry.server.config.ts, sentry.edge.config.ts) but should be reviewed for release tagging, source map upload, PII scrubbing (wallet addresses, amounts), tunneling to dodge ad blockers, and environment-aware sample rates. Otherwise errors are noisy, unmapped, or leak data.

Acceptance criteria

  • Tag releases and upload source maps in CI so stack traces are readable
  • Scrub or hash sensitive data (addresses, amounts, tokens) before send
  • Set environment-aware traces and replay sample rates (low in prod)
  • Document required Sentry env vars in .env.example and the README

Files to touch

  • sentry.client.config.ts
  • sentry.server.config.ts
  • sentry.edge.config.ts
  • next.config.ts
  • .env.example

Out of scope

  • Alerting rules in the Sentry dashboard

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignenhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type
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