Discord Integration
Connect Pulsar to Discord for real-time alerts in your server.
Setup
Step 1: Create a Discord Webhook
- Open your Discord server
- Go to Server Settings → Integrations → Webhooks
- Click New Webhook
- Give it a name (e.g., "Pulsar Alerts")
- Select the channel for alerts
- Click Copy Webhook URL
Step 2: Add to Pulsar
- Go to Settings in Pulsar
- Find the Discord section
- Paste your webhook URL
- Click Test to verify
- Click Save
Message Format
Pulsar sends embedded messages with:
- Color-coded status (red for down, green for up)
- Site name and URL
- Error details
- Timestamp
Example Alert Message
🔴 mystore.com is DOWN
Error: HTTP 503 Service Unavailable
Time: 2024-01-15 14:32:00 UTC
View in Pulsar →
Example Recovery Message
🟢 mystore.com is UP
Downtime: 13 minutes
Time: 2024-01-15 14:45:00 UTC
View in Pulsar →
Channel Recommendations
| Channel | Use Case |
|---|---|
#alerts | All Pulsar notifications |
#ops | Operations team alerts |
#dev | Development-related issues |
Best Practices
- Dedicated channel - Keep alerts separate from general chat
- Enable notifications - Configure Discord to notify for alert channels
- Use threads - Enable threading for related alerts
- Pin dashboard link - Pin the Pulsar dashboard URL in the channel
Troubleshooting
Webhook Not Working
- Verify the webhook URL is correct and complete
- Check if the webhook was deleted in Discord
- Ensure the channel still exists
- Test with the Test button in settings
Rate Limiting
Discord has rate limits on webhooks. If you're hitting limits:
- Consider using digest mode for non-critical alerts
- Spread alerts across multiple channels/webhooks