Connect Discord to get notified in real time when something goes down, and when it comes back up.
What Gets Sent
Monocle sends to your Discord channel:
- Monitor Down: an uptime monitor finds your service unreachable or returning errors. Includes the monitor name, URL, and environment.
- Monitor Recovered: the service is back online, with the total downtime duration.
- Endpoint alerts: an alert fires or resolves, with the current value, the threshold, and links to the endpoint and its slowest traces.
- Exception summaries: new and regressed issues of a project, when an exception rule posts to the channel.
Setup
- In your Discord server, go to Server Settings > Integrations and create a webhook.
- In Monocle, go to Settings > Integrations > Notification channels and click Add channel.
- Choose Discord, give the channel a name, paste the webhook URL and hit Send test.
- Pick the channel where it should be used:
- Uptime: check Uptime monitors under Use by default, or turn off Default channels in a monitor and pick the channel there.
- Exceptions: check Exceptions under Use by default, or add a rule in Settings > Projects > your project > Exception alerts.
- Endpoint alerts: under Notify in each alert.
You enter a webhook URL once. When you replace it, every monitor, alert, and rule that uses the channel follows. See Notification channels.