Skip to Content
OpenPerf

Respond

Slack

Send alert notifications to the Slack channels your team reads.

The Slack integration posts alert notifications to channels of your Slack workspace. You connect channels one by one and then choose them in each alert.

Connect a channel

Only owners and admins can connect channels.

  1. Open Settings → Integrations.
  2. In the Alerts group, click Add channel in the Slack row. If Slack already has channels, click the row and use Add channel on the Slack page.
  3. Slack asks you to approve the app and to choose the channel it posts to. Confirm.
  4. You return to the Slack page in OpenPerf and see Channel connected.

Repeat the steps for every channel you need. Finish each connection within 10 minutes, or OpenPerf shows The connection link expired. Try again.

If the Slack row is dimmed and has no Add channel button, Slack is not configured on your OpenPerf server.

Send alerts to the channel

A connected channel gets nothing until an alert uses it. Open an alert in Settings → Alerts and turn the channel on under Team chats. See Alerts.

The Slack page lists the channels with the workspace name, the number of alerts that use the channel, the time of the last message and a status: Active or Error.

To check a channel, open its three-dot menu and click Send test. OpenPerf posts a test message right away and tells you whether Slack accepted it.

What a message contains

  • A colored bar: red for a firing alert, green for a resolved one, blue for a test.
  • A title that links to the error, or to the alert when it is about a metric. For example New error: TypeError, Spike: TypeError, Firing: Checkout errors or Resolved: Checkout errors.
  • A summary. For an error it is the error message. For a metric it is a sentence such as Failure rate is 7.5%, above 5% in the last 5 min.
  • The fields Project, Environment and Rule. Alerts about an error add Culprit and Level, and a spike adds Events.
  • A footer with OpenPerf and the project name.

Disconnect a channel

On the Slack page, open the three-dot menu of the channel and click Disconnect. Alerts stop posting to the channel, and it is removed from every alert that used it.

Disconnecting does not remove the app from your Slack workspace. Remove it in Slack if you no longer need it.

Limits

  • One connection posts to one channel.
  • When Slack reports that the channel or the access to it is gone, the channel gets the Error status and alerts skip it. Hover the status to read the last error. A successful Send test, or connecting the channel again, makes it Active.
  • A message that fails for a temporary reason is retried, up to 5 attempts in total.
  • Long text is cut: titles at 200 characters, summaries at 1,500 and field values at 300.

On this page