Configuring Alerts
Decipher allows configuring alerts to be notified when there are issues.
Please make sure you’ve set Decipher up in your application before continuing.
Enabling Alerts
Go to the Alerts page and make sure to login using your work email address.
Replay Issue Alerts
Replay Issue Alerts
You can get notified whenever the AI finds a user replay session that had an issue.
- Select Replay Issues Alerts
- Setup Slack integration
- Enable or Disable the alerts
Now whenever a user hits a problem, you’ll be notified on Slack with details.
Tip: You can setup multiple slack alert channels with different filters
Code Error Alerts
Code Error Alerts
You can also be notified whenever the SDK detects a code level error (e.g. uncaught exception)
- Select Code Error Alerts
- Enable or Disable the alerts
- Choose an Alert Frequency (new errors only or every error instance)
- Setup an integration (Slack or Discord)
You can choose between New Errors Only and Every Error Instance
New Errors Only: Notifies only on errors that the application hasn’t seen (or alerted on) before.
Every Error Istance: Notifies all errors including those that have been seen before.
An error is considered new when the codebase_id/error_message/endpoint combination is new.
Filters
When you setup a slack channel, you can specify filters that will limit which replay issues alert that channel. Often a team will get it’s own slack channel and alert rules
- URL: Specify the substring that should be in the URL where the issue occurred
- User Role: Specify the user role as described in the user initialization
Integrations
Slack
Slack
- Navigate to Integrations using the sidebar and click Connect Slack
- For private channels: Use the Slack command
/invite @Decipher Alerts
Public channels are automatically accessible after connecting.
Discord
Discord
- Go to the Discord channel where you want to receive Decipher AI alert notifications.
- From the channel menu, choose Edit Channel.
- Click on Integrations.
- If there are no webhooks set up, click Create Webhook. Otherwise, select View Webhooks and then click New Webhook.
- Enter a name for the bot that will send the messages.
- (Optional) Modify the bot’s avatar if desired.
- Copy the URL from the WEBHOOK URL field.
- Click Save.
On the Decipher Alerts page, click the Integrate Discord Alerts and provide Decipher with your Webhook URL.
That’s it! Decipher will now send alerts to this channel.