Skip to content

Alerts

Alerts on Slack

Kiyesi posts alerts to Slack through an incoming webhook: a private address that lets Kiyesi post in one channel and do nothing else. You make it in your own workspace, in about two minutes.

You need: permission to add apps to your Slack workspace (or a Slack admin to approve it), and Manage on settings in Kiyesi: the Owner or Admin role, or a role you made with it.

Open api.slack.com/apps and sign in to your workspace. Choose Create New App, then From scratch. Name it Kiyesi, pick your workspace, and choose Create App.

In the app’s menu, open Incoming Webhooks and switch Activate Incoming Webhooks on.

At the bottom of the same page, choose Add New Webhook (in some workspaces, Add New Webhook to Workspace). Pick the channel for alerts, such as #incidents, and choose Allow. For a private channel, you must be a member of it.

Slack lists the new webhook with its address, which starts with https://hooks.slack.com/services/. Choose Copy.

Treat it like a password: anyone with it can post in that channel.

In the dashboard, open Settings, Alerts. Under New channels get alerts for, keep All projects or choose some. Choose Add Slack, give it a name such as #incidents, paste the address, and choose Add.

Kiyesi stores the address encrypted and never shows it again.

Choose Send a test on the new channel. A message headed Test · Kiyesi appears in the Slack channel.

Slack shows each message under the app’s name and icon. In the Slack app’s Basic Information, under Display Information, upload the Kiyesi icon (download it first) and set the background colour to #0B1629, so alerts are easy to spot.

Each webhook posts to one channel. To send different projects to different channels, add a webhook for each channel in Slack, add each one in Kiyesi, and choose its projects. For example, #checkout-alerts for the Checkout project and #storefront-alerts for Storefront.

Each alert has a heading with what happened and the server, such as Critical · checkout-api-prod, then the problem in one sentence, the fix as code you can copy, and three buttons:

  • Acknowledge marks the alert acknowledged, so your team can see someone is on it and no daily reminder is sent.
  • Open alert shows it in the Kiyesi dashboard.
  • Mute 30 min mutes the server’s alerts for 30 minutes while you work on it.

Each opens the dashboard and takes effect in one step once you are signed in. When the problem clears, a Recovered message says so.

  • Kiyesi says it is not a Slack webhook address. Copy the whole address from the Incoming Webhooks page; it starts with https://hooks.slack.com/. A link to the channel or the app is not the same.
  • The test fails with “Slack answered 404” or “403”. The webhook was removed, or the app was uninstalled. Add a new webhook in Slack, then Remove the old channel in Kiyesi and add the new address.
  • The address leaked. In Slack, on Incoming Webhooks, remove that webhook; it stops working at once. Add a new one and replace it in Kiyesi.