Alerts require a Pro or Enterprise plan. Upgrade your plan to enable alerts.
Prerequisites
Before setting up alerts, ensure you have:- A bullstudio account with Pro or Enterprise plan
- At least one Redis connection configured
- Queues actively processing jobs (for meaningful thresholds)
Step 1: Understand Your Baseline
Before creating alerts, understand your normal operating metrics:Review metrics for 24-48 hours
Look at:
- Normal failure rate (typically < 1% for healthy queues)
- Average processing time
- Typical queue depth (waiting jobs)
- Throughput patterns
Step 2: Create Your First Alert
Start with a Failure Rate alert—the most universally useful type:Configure the alert
Fill in the form:
| Field | Value | Notes |
|---|---|---|
| Name | High Failure Rate | Descriptive name |
| Connection | Your production connection | Select from dropdown |
| Queue | Your main queue | Or leave blank for all queues |
| Type | Failure Rate | |
| Threshold | 5% | Adjust based on your baseline |
| Time Window | 15 minutes | Period to calculate rate |
| Resolve Threshold | 2% | When to consider resolved |
| Recipients | your-email@example.com | Add team members |
| Cooldown | 15 minutes | Prevent spam |
Step 3: Add Essential Alerts
For comprehensive monitoring, set up these additional alerts:Backlog Alert
Detects when jobs are piling up faster than workers can process:Processing Time Alert
Detects performance degradation:Missing Workers Alert
Detects when all workers have stopped:Step 4: Test Your Alerts
Verify alerts are configured correctly:Alert Configuration Tips
Choosing Thresholds
| Scenario | Suggested Approach |
|---|---|
| High-volume queues | Use percentage-based thresholds, shorter time windows |
| Low-volume queues | Use longer time windows to avoid noise |
| Critical queues | Set tighter thresholds, faster cooldowns |
| Background jobs | More relaxed thresholds, longer cooldowns |
Time Window Guidelines
| Queue Volume | Recommended Window |
|---|---|
| > 1000 jobs/hour | 5-10 minutes |
| 100-1000 jobs/hour | 15-30 minutes |
| < 100 jobs/hour | 30-60 minutes |
Cooldown Strategy
- Critical alerts: 5-15 minutes
- Standard alerts: 15-30 minutes
- Low-priority alerts: 1-4 hours
Common Alert Configurations
E-commerce Order Processing
Email Notification System
Data Pipeline
Responding to Alerts
When you receive an alert:Take Action
- Retry jobs if it was a transient issue
- Fix bugs and deploy
- Scale workers if backlogged
- Check external dependencies
Avoiding Alert Fatigue
- Start with fewer alerts and add more as needed
- Use resolve thresholds to prevent flapping
- Set appropriate cooldown periods
- Review and adjust thresholds monthly
- Disable alerts for non-critical queues during known maintenance
Next Steps
Alert Types
Learn about all available alert types.
Monitoring Best Practices
General monitoring strategies.
Dashboard
Understand your metrics baseline.
Troubleshooting
Common issues and solutions.