The Monocle app for Slack posts alerts, uptime incidents, and exceptions to your channels, keeps each one in a thread, and lets you resolve, archive, and assign issues from the message.
Slack incoming webhooks are no longer supported. If you used one, see Move from incoming webhooks.
Connect a workspace
Organization admins connect workspaces:
- Go to Settings → Integrations.
- Under Slack and Discord, click Add Slack workspace.
- Choose the workspace and allow the Monocle app.
An organization can connect several workspaces, and a workspace can be connected to several organizations. Each workspace is listed with the admin who connected it.
If the app is uninstalled from Slack or loses its access, the workspace shows Disconnected and stops receiving messages. Click Reconnect to install it again. Your alerts, monitors, and exception rules keep their channels.
To remove a workspace, click the trash icon next to it. The alerts, monitors, and exception rules that post to its channels stop notifying them. This doesn't uninstall the app from Slack.
Pick a channel
Every member can pick a Slack channel in:
- Endpoint alerts: under Notify, click Slack or Discord channel. See Notifications.
- Uptime monitors: turn off Default channels, then click Slack or Discord channel.
- Exception rules: in the Posts to column, click the Slack icon next to the channel list. See Exception rules.
When several workspaces or servers are connected, pick one first. Then search the channel list, or paste a channel ID. Refresh channels reloads the list after you create a channel.
The list shows public channels and the private channels Monocle is in. To post to a private channel, invite the app first: type /invite @Monocle in that channel, then refresh the list.
Click the send icon next to a picked channel to post a test message.
What gets posted
Each incident or issue gets one message in the channel. Follow-ups go to its thread, and the first message is updated to show the current state.
| Event | In Slack |
|---|---|
| Endpoint alert fires | A message with the metric, its value, the threshold, the service, and the environment |
| The alert resolves | A reply in the thread. The message shows Resolved |
| Uptime monitor goes down | A message with the monitor, its URL, and the error |
| The monitor recovers | A reply with the downtime, such as Recovered after 12m 5s. The message shows Recovered |
| New issue | One message per issue, with its exception, status, assignee, environment, and event count |
| The issue regresses | A reply in the thread, also sent to the channel. At most once per 30 minutes per issue and channel |
| Status, assignee, or merge of the issue | A reply in the thread, such as Resolved by Jane Doe. The message shows the new state |
Changes made in Monocle and changes made from Slack both reply in the thread.
Act on issues
Issue messages have three buttons:
- Resolve: resolves the issue. When the project has releases, choose Immediately or In the next release. On a resolved issue, the button is Unresolve.
- Archive: choose how long, from For 1 hour to Forever, or until more events or users. On an archived issue, the button is Mark as ongoing.
- Assign: search a member with access to the project, or Unassign.
You need manager access to the project of the issue. Monocle acts as your Monocle user, so the change shows your name in the issue activity.
Link your account
Monocle needs to know which Monocle user clicked:
- If you are a full member of the workspace and your confirmed Slack email is the email of your Monocle account, your account links itself. Monocle also links matching members when a workspace is connected.
- Otherwise, the first click answers with Link your identity now. Open the link while signed in to Monocle and confirm. The link expires after an hour. Then click the button again.
Your linked accounts are listed in Settings → Login & security, under Slack and Discord accounts. Unlink one to stop it acting as you.
Link previews
When someone posts a Monocle link in Slack, Monocle adds a preview of:
- Issues
- Uptime monitors
- Endpoint alerts
- Traces
Monocle previews a link only when its organization is connected to that workspace. Previews don't need a linked account.