Slack Integration
Connect Pulsar to Slack for real-time alerts in your team's workspace.
Setup
Step 1: Create a Slack Webhook
- Go to Slack API Apps
- Create a new app or select an existing one
- Enable Incoming Webhooks
- Click Add New Webhook to Workspace
- Select the channel for alerts
- Copy the webhook URL
Step 2: Add to Pulsar
- Go to Settings > Notifications
- Under Slack, click Configure
- Paste your webhook URL
- Click Test to verify
- Click Save
Message Format
Pulsar sends rich Slack messages with:
- Color-coded status (red for down, green for up)
- Site name and URL
- Error details
- Direct link to Pulsar dashboard
Example Alert Message
:red_circle: mystore.com is DOWN
Error: HTTP 503 Service Unavailable
Time: 2024-01-15 14:32:00 UTC
<https://pulsar.byte8.io/sites/abc123|View in Pulsar>
Example Recovery Message
:large_green_circle: mystore.com is UP
Downtime: 13 minutes
Time: 2024-01-15 14:45:00 UTC
<https://pulsar.byte8.io/sites/abc123|View in Pulsar>
Channel Recommendations
| Channel | Use Case |
|---|---|
#alerts | All Pulsar notifications |
#oncall | Critical alerts only |
#dev-team | Development-related issues |
Multiple Channels
Send different alert types to different channels:
- Create webhooks for each channel
- Configure routing in Pulsar:
- Critical alerts →
#oncall - JS errors →
#frontend-team - All alerts →
#monitoring
- Critical alerts →
Best Practices
- Dedicated channel - Keep alerts separate from general chat
- Enable notifications - Configure Slack to notify for alert channels
- Pin important links - Pin Pulsar dashboard link in the channel
- Use threads - Enable threading for related alerts
Troubleshooting
Webhook Not Working
- Verify the webhook URL is correct
- Check if the Slack app is still installed
- Ensure the channel still exists
- Test with the Test button in settings
Rate Limiting
Slack has rate limits on incoming webhooks. If you're hitting limits:
- Consider using digest mode
- Filter which alerts go to Slack
- Spread alerts across multiple channels/apps