Beginner's Guide to Setting Up Alerts in Sentry for Your Startup App
Beginner's Guide to Setting Up Alerts in Sentry for Your Startup App
Your app just crashed in production. A user tweets about it before you even know there's a problem. Sound familiar? For startup founders juggling product, growth, and a hundred other priorities, setting up proper error monitoring often falls to the bottom of the list—until something breaks publicly.
The good news: Sentry alert configuration takes about ten minutes, and once it's done, you'll never be the last to know about critical errors again. This guide walks you through the essentials of Sentry alerts setup, from understanding alert types to routing notifications to Slack or email without drowning in noise.
Understanding Sentry's Two Alert Types
Before diving into configuration, you need to understand what you're working with. Sentry offers two distinct alert categories, each designed for different monitoring needs.
Issue Alerts: Event-Based Notifications
Issue Alerts trigger when something happens with your errors—a new issue appears, a resolved issue comes back, or an existing issue hits a frequency threshold. Think of these as your "something just broke" notifications.
Common Issue Alert scenarios:
- A brand new error type appears in production
- A bug you thought was fixed resurfaces (regression)
- The same error occurs 10 times in an hour
- A high-priority issue remains unassigned
Metric Alerts: Threshold-Based Monitoring
Metric Alerts fire when numeric measurements cross boundaries you define. These monitor aggregated data over time rather than individual events.
Common Metric Alert scenarios:
- Error count exceeds 50 in 5 minutes
- Average response time climbs above 2 seconds
- Crash-free session rate drops below 99%
- Transaction throughput falls unexpectedly
The key difference: Issue Alerts use "rules" that respond to events. Metric Alerts use "triggers" that fire when thresholds are breached. For most startups just getting started with error monitoring, Issue Alerts cover 80% of what you need.
Step-by-Step: Creating Your First Issue Alert Rule
Let's set up a practical alert that notifies you whenever a new error appears in your production environment. This is the single most valuable alert for any startup app.
Step 1: Navigate to Alerts
From your Sentry project dashboard, click Alerts in the left sidebar, then select Create Alert. Choose "Issue Alert" from the options presented.
Step 2: Define Your Conditions
The alert rule builder presents three sections: When, If, and Then.
When (Trigger): Select "A new issue is created." This catches errors Sentry hasn't seen before—exactly what you want for catching production bugs early.
If (Filters): Add conditions to reduce noise. For a startup app, consider:
- Environment equals "production" — Skip staging and development errors
- Level equals "error" or "fatal" — Ignore warnings and info logs initially
- Event tags: release matches your latest version — Focus on current code
Step 3: Set Your Action Frequency
Under "Perform actions at most once every," start with 30 minutes or 1 hour. This prevents alert storms when a single bug triggers repeatedly. You can tighten this later once you've tuned your rules.
Step 4: Choose Your Notification Channel
This is where you decide how alerts reach you. Options include:
- Email: Available on all plans, including free
- Slack: Requires Team plan ($26/mo) or higher
- PagerDuty/Opsgenie: For on-call escalation (Team plan+)
- Webhooks: Custom integrations
For now, select "Send an email" to the project team. We'll add Slack in the next section.
Step 5: Name and Save
Give your rule a clear name like "Production New Errors - Email" and hit save. Your first Sentry alert rule is live.
Setting Up Sentry Slack Integration
Email works, but let's be honest—Slack is where your team actually lives. Real-time notifications in your team chat mean faster response times and better collaboration when triaging bugs.
Installing the Slack Integration
Step 1: In Sentry, go to Settings → Integrations and search for Slack.
Step 2: Click "Add to Slack" and authorize the connection. You'll need admin permissions in your Slack workspace (or request approval from your workspace admin).
Step 3: Grant the required permissions. Sentry needs access to post messages and read channel information.
Step 4: Once connected, you'll see Slack listed as an active integration. The entire process takes about three minutes.
Adding Slack to Your Alert Rule
Return to your alert rule (or create a new one) and add an action: "Send a notification via Slack."
You'll select:
- Workspace: Your connected Slack workspace
- Channel: Where alerts should post (create a dedicated #errors or #sentry channel)
- Tags to include: Optional context like environment, release, or user
Pro tip: Create a dedicated channel like #prod-errors rather than posting to #general. This keeps alerts visible without disrupting unrelated conversations.
What Slack Alerts Look Like
Sentry's Slack messages include rich context:
- Error title and message
- Stack trace snippet
- Affected user count
- Direct link to the issue in Sentry
- Action buttons to assign, resolve, or ignore
When the same issue triggers again, Sentry replies in a thread rather than creating new messages—keeping your channel organized and reducing notification fatigue.
Beginner Sentry Alert Best Practices for Small Teams
Setting up alerts is easy. Setting up alerts that don't drive you crazy? That requires some strategy. Here's how to configure Sentry alert rules that actually help rather than create noise.
Start Narrow, Expand Later
Begin with alerts only for new production errors. Once you've established a baseline and resolved existing issues, expand to include regressions, frequency thresholds, and metric alerts.
Use Environment Filters Religiously
Always filter alerts to your production environment. Development and staging errors matter, but they don't need real-time notifications at 2 AM.
Set Reasonable Thresholds
If you alert on every single error event, you'll burn out within a week. Instead:
- Alert on new issues immediately
- Alert on existing issues only when they spike (e.g., 10+ events in 1 hour)
- Review low-frequency issues weekly in the Sentry dashboard
Route by Severity
Not all errors deserve the same response. Consider multiple rules:
- Critical/Fatal errors: Slack + email immediately
- Standard errors: Slack only, batched every 30 minutes
- Warnings: No alert; review weekly in dashboard
Assign Ownership
Sentry supports code ownership rules that automatically assign issues to the right team member based on file paths. Set this up early to avoid the "someone else will handle it" trap.
Choosing Your Notification Channel: Email vs Slack
Both channels have their place. Here's a quick comparison to guide your decision:
Email Alerts
- Delivery speed: Medium (depends on inbox checking habits)
- Collaboration: Limited (requires forwarding or separate threads)
- Noise level: Low (easily filtered into folders)
- Setup effort: None (default on all plans)
- Cost: Free on all Sentry tiers
Slack Alerts
- Delivery speed: Fast (real-time push notifications)
- Collaboration: High (threads, mentions, reactions)
- Noise level: Medium-high (requires channel discipline)
- Setup effort: Low (~3 minutes)
- Cost: Requires Sentry Team plan ($26/mo); Slack free tier works fine
When to choose email only: Solo developer on free tier, low error volume, prefer async review.
When to add Slack: Team of 2+ developers, need real-time awareness, want collaborative triage with threads and assignments.
Example Alert Configurations by Startup Stage
Your monitoring needs evolve as your startup grows. Here's how to scale your alert setup appropriately.
Solo Founder / Side Project
Sentry Developer plan (free) with email-only alerts:
- One Issue Alert: New errors in production → email
- Weekly dashboard review for trends
- 5,000 error events/month is plenty for early traction
Early-Stage Team (3-5 Developers)
Sentry Team plan ($26/mo) with Slack integration:
- Issue Alert: New production errors → #errors Slack channel
- Issue Alert: Regressions → #errors Slack channel + email to assignee
- GitHub integration for auto-creating issues on critical errors
- Code ownership rules for automatic assignment
Growth Stage (10+ Developers)
Sentry Business plan ($80/mo) with multi-channel routing:
- Issue Alerts for new errors → Slack for team awareness
- Metric Alerts for error rate spikes → PagerDuty for on-call engineer
- Uptime monitors for critical endpoints
- Cron monitors for background jobs
- Anomaly detection enabled for automatic threshold adjustment
Frequently Asked Questions
How do I set up Slack alerts in Sentry?
Enable the Slack integration in Sentry by going to Settings → Integrations → Slack. Grant workspace permissions when prompted. Then create an Issue or Metric Alert Rule, select "Send a notification via Slack" as your action, choose your channel, and save. The entire process takes under five minutes.
What's the difference between Issue Alerts and Metric Alerts?
Issue Alerts notify you when specific error events occur—like a new issue appearing or a resolved bug coming back. Metric Alerts fire when numeric measurements (error count, latency, crash rate) cross thresholds you define. Issue Alerts use "rules" triggered by events; Metric Alerts use "triggers" based on aggregated data.
Can I send Sentry alerts to multiple channels?
Yes. Each Alert Rule supports multiple actions. You can send the same alert to email, multiple Slack channels (one action per channel), PagerDuty, Opsgenie, Microsoft Teams, or custom webhooks—all from a single rule. This lets you notify different team members through their preferred channels simultaneously.
Why aren't my Slack alerts arriving?
Common causes include: the Slack integration needs reauthorization, the selected channel was deleted or renamed, or the alert conditions aren't being met. Check your integration status in Settings → Integrations, verify the channel exists, and review your alert rule's filter conditions.
Is Slack integration available on Sentry's free plan?
No. The Developer (free) plan includes only email alerts and limits you to one user. Slack integration requires the Team plan at $26/month, which also includes unlimited team members and additional integrations like GitHub and PagerDuty.
Quick Wins to Implement Today
If you've read this far, here's your five-minute action list:
- Create one Issue Alert for new production errors with email notification
- Add an environment filter to exclude staging and development
- Set action frequency to 30 minutes minimum
- If on Team plan: Connect Slack and create a dedicated #errors channel
- Schedule 15 minutes weekly to review your Sentry dashboard for non-critical issues
Startup error monitoring doesn't need to be complicated. A single well-configured alert rule will catch the critical issues, and you can iterate from there as your app—and your team—grows. The goal isn't perfect coverage from day one; it's ensuring you hear about production problems before your users complain on Twitter.