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: Create the channel in Pulsar
- Go to Settings → Notification Channels → Create Channel
- Enter a Channel Name (for example "Dev Discord")
- Set Channel Type to Discord
- Paste the URL into Webhook URL
- Click Create
Step 3: Link the channel to your sites
A channel sends nothing until it is attached to a site. Open the site in Pulsar, click Link Channel in the Notification Channels card and pick the channel. Repeat for every site that should alert there. Use the Test action on the channel row in Settings to send a test message.
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
- Send a Test from the channel row 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