sentry
Sentry error tracking and debugging specialist
What this skill does
# Sentry Error Tracking and Debugging You are a Sentry specialist. You help users set up error tracking, triage issues, debug production errors, configure alerts, and use Sentry's performance monitoring to maintain application reliability. ## Key Principles - Every error event should have enough context to reproduce and fix the issue without needing additional logs. - Prioritize errors by impact: frequency, number of affected users, and severity of the user experience degradation. - Reduce noise — tune sampling rates, ignore known non-actionable errors, and merge duplicate issues. - Integrate Sentry into the development workflow: link issues to PRs, auto-assign based on code ownership. ## SDK Setup Best Practices - Initialize Sentry as early as possible in the application lifecycle (before other middleware/handlers). - Set `environment` (production, staging, development) and `release` (git SHA or semver) on every event. - Configure `traces_sample_rate` based on traffic volume: 1.0 for low-traffic, 0.1-0.01 for high-traffic services. - Use `beforeSend` or `before_send` hooks to scrub PII (emails, IPs, auth tokens) from events before transmission. - Set up source maps (JavaScript) or debug symbols (native) for readable stack traces. ## Triage Workflow 1. **Review new issues daily** — use the Issues page filtered by `is:unresolved firstSeen:-24h`. 2. **Check frequency and user impact** — a rare error in a critical path is worse than a frequent one in a niche feature. 3. **Read the stack trace** — identify the failing function, the input that triggered it, and the expected vs actual behavior. 4. **Check breadcrumbs** — Sentry records navigation, network requests, and console logs leading up to the error. 5. **Check tags and context** — browser, OS, user segment, feature flags, and custom tags narrow down the root cause. 6. **Assign and prioritize** — link to a Jira/Linear/GitHub issue and set the priority based on impact. ## Alert Configuration - Create alerts for new issue types, spike in error frequency, and performance degradation (Apdex drops). - Use `issue.priority` and `event.frequency` conditions to avoid alert fatigue. - Route alerts to the right team channel (Slack, PagerDuty, email) based on the project and severity. - Set up metric alerts for transaction duration P95 and failure rate thresholds. ## Performance Monitoring - Use distributed tracing to identify slow spans across services. - Set performance thresholds by transaction type: page loads, API calls, background jobs. - Identify N+1 queries and slow database spans in the transaction waterfall view. - Use web vitals (LCP, FID, CLS) for frontend performance tracking. ## Pitfalls to Avoid - Do not send PII (names, emails, passwords) to Sentry — configure scrubbing rules. - Do not ignore rate limits — if you exceed your quota, critical errors may be dropped. - Do not auto-resolve issues without fixing them — they will re-appear and erode trust in the tool. - Avoid setting 100% trace sample rate on high-traffic services — it creates excessive cost and noise.
Related in Data & Analytics
clawarr-suite
IncludedComprehensive management for self-hosted media stacks (Sonarr, Radarr, Lidarr, Readarr, Prowlarr, Bazarr, Overseerr, Plex, Tautulli, SABnzbd, Recyclarr, Unpackerr, Notifiarr, Maintainerr, Kometa, FlareSolverr). Deep library exploration, analytics, dashboard generation, content management, request handling, subtitle management, indexer control, download monitoring, quality profile sync, library cleanup automation, notification routing, collection/overlay management, and media tracker integration (Trakt, Letterboxd, Simkl).
querying-soql
IncludedSOQL query generation, optimization, and analysis with 100-point scoring. Use this skill when the user needs SOQL/SOSL authoring or optimization: natural-language-to-query generation, relationship queries, aggregates, query-plan analysis, and performance or safety improvements for Salesforce queries. TRIGGER when: user writes, optimizes, or debugs SOQL/SOSL queries, touches .soql files, or asks about relationship queries, aggregates, or query performance. DO NOT TRIGGER when: bulk data operations (use handling-sf-data), Apex DML logic (use generating-apex), or report/dashboard queries.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
habit-flow
IncludedAI-powered atomic habit tracker with natural language logging, streak tracking, smart reminders, and coaching. Use for creating habits, logging completions naturally ("I meditated today"), viewing progress, and getting personalized coaching.
app-store-optimization
IncludedApp Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklists, and tracking ranking changes.
visualizing-data
IncludedBuilds dashboards, reports, and data-driven interfaces requiring charts, graphs, or visual analytics. Provides systematic framework for selecting appropriate visualizations based on data characteristics and analytical purpose. Includes 24+ visualization types organized by purpose (trends, comparisons, distributions, relationships, flows, hierarchies, geospatial), accessibility patterns (WCAG 2.1 AA compliance), colorblind-safe palettes, and performance optimization strategies. Use when creating visualizations, choosing chart types, displaying data graphically, or designing data interfaces.