Alert System Guide
Set up intelligent alerts to get notified when your metrics cross important thresholds.Overview
The alert system monitors your metrics and sends notifications when conditions are met. Stay informed about critical changes without constantly checking your dashboard. Availability: Pro, Scale, and Agency plans only.Alert Features
- Threshold-based: Trigger when metrics cross specific values
- Multiple channels: In-app, Slack, Discord, Microsoft Teams
- Flexible conditions: Greater than, less than, equals, and more
- Time ranges: Monitor over different time periods
- Alert history: View all triggered alerts
- Acknowledgment: Mark alerts as reviewed
Creating an Alert
Step 1: Navigate to Alerts
- Click Alerts in the sidebar
- Click New Alert button
Step 2: Configure Alert
Alert Name Give your alert a descriptive name (e.g., “MRR drops below $10k”) Metric Selection Choose the metric to monitor:- Select integration (e.g., Stripe)
- Select specific metric (e.g., MRR)
- Operator:
<,>,<=,>=,==,!= - Threshold: The value to compare against
- Time Range: Period to evaluate (1h, 24h, 7d, 30d)
- MRR
<$10,000 over last 24h - Active Subscriptions
>1,000 over last 1h - Bounce Rate
>50% over last 7d - Deployments
==0 over last 24h
Step 3: Configure Notifications
Choose where to receive alerts: In-App Notifications (always enabled)- Toast notification in Dashtray
- Notification bell in header
- Alert history page
- Check “Send to Slack”
- Enter Slack webhook URL
- Get webhook URL →
- Check “Send to Discord”
- Enter Discord webhook URL
- Get webhook URL →
- Check “Send to Teams”
- Enter Teams webhook URL
- Get webhook URL →
Step 4: Save Alert
- Review your configuration
- Click Create Alert
- Alert is now active and monitoring
Alert Evaluation
How It Works
- Background job runs every 5 minutes
- Evaluates all enabled alerts
- Checks if conditions are met
- Sends notifications if triggered
- Logs the alert trigger
Evaluation Logic
Alerts evaluate the latest value within the specified time range:- 1h: Last value in the past hour
- 24h: Last value in the past 24 hours
- 7d: Last value in the past 7 days
- 30d: Last value in the past 30 days
- Checks the most recent MRR value from the last 24 hours
- Triggers if that value is less than $10,000
Notification Frequency
To avoid spam, alerts follow these rules:- Cooldown period: 1 hour between notifications for the same alert
- Continuous monitoring: Alert continues to evaluate every 5 minutes
- Re-notification: Sends again after cooldown if condition still met
Managing Alerts
Viewing Alerts
- Click Alerts in the sidebar
- See all configured alerts with:
- Alert name and condition
- Enabled/disabled status
- Last triggered time
- Edit and delete buttons
Enabling/Disabling Alerts
Toggle alerts on or off without deleting them:- Go to Alerts page
- Click the toggle switch next to an alert
- Disabled alerts won’t evaluate or send notifications
Editing Alerts
- Go to Alerts page
- Click Edit button on an alert
- Modify any configuration
- Click Save Changes
Deleting Alerts
- Go to Alerts page
- Click Delete button on an alert
- Confirm deletion
- Alert and its history are permanently deleted
Alert History
View all triggered alerts:- Click Alerts in the sidebar
- Click History tab
- See list of all triggered alerts with:
- Alert name
- Triggered time
- Metric value
- Threshold
- Notifications sent
- Acknowledgment status
Acknowledging Alerts
Mark alerts as reviewed:- Go to Alert History
- Click Acknowledge on an alert
- Alert is marked as reviewed
- Helps track which alerts have been addressed
Setting Up Webhooks
Slack Webhook
- Go to api.slack.com/messaging/webhooks
- Click Create your Slack app
- Choose From scratch
- Name your app (e.g., “Dashtray Alerts”)
- Select your workspace
- Click Incoming Webhooks
- Toggle Activate Incoming Webhooks to On
- Click Add New Webhook to Workspace
- Select channel to post to
- Click Allow
- Copy the webhook URL (starts with
https://hooks.slack.com/) - Paste into Dashtray alert configuration
Discord Webhook
- Open Discord and go to your server
- Right-click the channel → Edit Channel
- Click Integrations → Webhooks
- Click New Webhook
- Name your webhook (e.g., “Dashtray Alerts”)
- Select channel
- Click Copy Webhook URL
- Paste into Dashtray alert configuration
Microsoft Teams Webhook
- Open Microsoft Teams
- Navigate to the channel
- Click ••• (More options) → Connectors
- Search for “Incoming Webhook”
- Click Configure
- Name your webhook (e.g., “Dashtray Alerts”)
- Upload an image (optional)
- Click Create
- Copy the webhook URL
- Paste into Dashtray alert configuration
Alert Examples
Revenue Monitoring
Alert: MRR drops below target- Metric: Stripe MRR
- Condition:
<$10,000 - Time Range: 24h
- Notifications: Slack #revenue channel
- Metric: Stripe Churn Rate
- Condition:
>5% - Time Range: 7d
- Notifications: Slack #customer-success
Traffic Monitoring
Alert: Traffic spike- Metric: Google Analytics Page Views
- Condition:
>100,000 - Time Range: 1h
- Notifications: Discord #alerts
- Metric: Plausible Bounce Rate
- Condition:
>70% - Time Range: 24h
- Notifications: Slack #marketing
Development Monitoring
Alert: No deployments- Metric: Vercel Deployments
- Condition:
==0 - Time Range: 24h
- Notifications: Slack #engineering
- Metric: Vercel Build Success Rate
- Condition:
<90% - Time Range: 7d
- Notifications: Discord #dev-ops
Subscription Monitoring
Alert: Active subscriptions milestone- Metric: Stripe Active Subscriptions
- Condition:
>1,000 - Time Range: 1h
- Notifications: Slack #general (celebrate!)
Best Practices
Alert Configuration
- Be specific: Use clear, descriptive alert names
- Set realistic thresholds: Avoid alert fatigue
- Choose appropriate time ranges: Match your business cycle
- Test alerts: Verify notifications are received
Notification Management
- Use channels wisely: Route alerts to relevant teams
- Avoid over-alerting: Too many alerts = ignored alerts
- Set up escalation: Critical alerts to multiple channels
- Document responses: Note how to respond to each alert
Monitoring Strategy
- Start simple: Begin with a few critical alerts
- Iterate: Add more alerts as you learn
- Review regularly: Disable or adjust noisy alerts
- Track acknowledgments: Ensure alerts are being addressed
Troubleshooting
Alert Not Triggering
- Check alert status: Ensure alert is enabled
- Verify condition: Confirm metric meets condition
- Check time range: Ensure data exists in time range
- Review evaluation: Alerts check every 5 minutes
- Check cooldown: 1-hour cooldown between notifications
Notifications Not Received
In-App:- Check notification bell in header
- Verify browser notifications are enabled
- Check Alert History page
- Verify webhook URL is correct
- Check Slack channel permissions
- Test webhook with curl:
- Verify webhook URL is correct
- Check Discord channel permissions
- Ensure webhook wasn’t deleted
- Verify webhook URL is correct
- Check Teams channel permissions
- Ensure connector is still active
Alert Triggering Too Often
- Adjust threshold: Make condition less sensitive
- Increase time range: Use longer evaluation period
- Disable temporarily: Toggle off while investigating
- Check data quality: Ensure metric data is accurate
Limitations
MVP Limitations
- No email notifications: Coming in future update
- No SMS notifications: Coming in future update
- No alert groups: Coming in future update
- No custom schedules: Alerts run 24/7
- No alert dependencies: Each alert is independent
Plan Limitations
- Free: No alerts available
- Pro: Unlimited alerts
- Scale/Agency: Unlimited alerts + audit logs
FAQ
Q: How often are alerts checked? A: Every 5 minutes. Q: Can I get email notifications? A: Not in the MVP. Email notifications coming in a future update. Q: Can I set up alerts for multiple metrics? A: Each alert monitors one metric. Create multiple alerts for multiple metrics. Q: Can I schedule alerts (e.g., only during business hours)? A: Not in the MVP. Alert scheduling coming in a future update. Q: What happens if my webhook URL changes? A: Edit the alert and update the webhook URL. Q: Can I test an alert before saving? A: Not in the MVP. Test by setting a condition you know will trigger. Q: How long is alert history retained? A: Based on your plan’s data retention policy (3 days for Free, unlimited for Pro+). Q: Can I export alert history? A: Not in the MVP. Export functionality coming for Scale+ users.Need Help?
- Email: support@dashtray.com
- Webhook Setup Help: See integration-specific documentation above
- Community: Join our Discord for alert configuration tips