Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/sentry-migration-deep-dive

@0d57af8
Run it yourself

Migrate to Sentry from other error tracking tools like Rollbar, Bugsnag, or New Relic. Use when replacing an existing error tracker with Sentry, running tools in parallel during a transition, or mapping API calls between providers. Trigger with phrases like "migrate to sentry", "switch from rollbar to sentry", "replace bugsnag with sentry", "sentry migration plan".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/sentry-migration-deep-dive

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referenceserrors.md

≈628 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Error Handling Reference

Common Migration Errors

Error Cause Solution
Error count mismatch (>10% delta) Sampling rates differ between tools Set both to sampleRate: 1.0 during parallel run; restore tuned rate after cutover
Missing stack traces in Sentry Source maps not uploaded for the release Add sentry-cli sourcemaps upload --release=$(npm pkg get version) dist/ to CI pipeline
beforeSend dropping events Filter logic too aggressive during migration Log dropped events to console during parallel run to verify filter correctness
Alert parity issues Old tool uses count-based alerts, Sentry uses different thresholds Map each alert individually; test with synthetic errors before going live
Sentry events missing user context setUser() called after captureException() Call Sentry.setUser() in authentication middleware, before any error capture
Breadcrumbs not appearing Breadcrumb added after exception capture Breadcrumbs must be added before the error occurs; they attach to the next captured event
Data export from old tool fails API rate limiting on historical data export Use pagination with 100-item batches and exponential backoff
Old SDK references in CI config Only searched application code, not CI/CD files Grep across *.yml, *.yaml, Dockerfile, and environment variable stores
Team cannot find issues in Sentry Different UI navigation from old tool Schedule a 30-minute walkthrough; share saved searches for common filters
Rollback needed mid-migration Sentry capturing fewer errors than expected Re-enable dual-reporter; old tool config preserved in migration-backup/ directory

Validation Checklist

Run this checklist before removing the old tool:

  • Error counts within 10% between old tool and Sentry (24h window)
  • Stack traces resolve with correct file names and line numbers
  • User context (id, email) appears on Sentry events
  • Breadcrumbs appear in event detail timeline
  • All alert rules fire correctly (tested with synthetic errors)
  • Release tracking shows deploy markers in Sentry Releases view
  • Performance traces appear (if tracesSampleRate > 0)
  • Source maps uploaded in CI for every deploy
  • Team has completed Sentry dashboard walkthrough

Tons of Skills by Intent Solutions | jeremylongshore.com

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk LOW
  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Gen Agent Trust Hub8mo

    This skill facilitates the migration from various error tracking tools to Sentry. It includes configuration examples and instructions for SDK replacement using standard package managers and environment variables for configuration, posing no security risks.

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 months ago
What it can do
Reads files Edits files Runs commands
version
1.51.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
compatibility
Designed for Claude Code
All 8 allowed tools
ReadWriteEditBash(npm:*)Bash(npx:*)Bash(node:*)GrepGlob
Other metadata
tags
[
  "saas",
  "sentry",
  "migration",
  "rollbar",
  "bugsnag",
  "new-relic",
  "error-tracking"
]

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/sentry-migration-deep-dive