Several Redis Cloud customers have requested a way for alerts to be delivered on Slack channels. While these notifications are currently available only through email, there is a workaround with similar results. This how-to outlines the process step-by-step.
Staying on top of your Redis Cloud performance is mission-critical. While thresholds and configurations are established in the Redis Cloud interface, the important alerts that signal high memory usage, for example, are delivered by email.
You want to stay on top of some situations and act quickly. For example, a database is affected by latency, or a team wants an alert once a database has crossed a 90% capacity threshold. The current notification system requires an administrator to decide who receives email alerts and for what purpose.
However, many people rely on Slack for timely notifications rather than email. Here’s how to integrate them with Redis Cloud – as long as you have a paid Slack account.
To use a Slack channel, an email address is required. Redis customers can take the email address associated with the Slack account and use it to receive alert emails. The instructions are the same for both the Slack desktop and web UIs.
Note: A paid Slack account is required.
Is a DevOps channel already in use? Skip this step if that’s the case.
Otherwise, create a new channel. Skip the add “Add people” dialog at this point. In some organizations, creating a channel is sometimes restricted, which may require an admin.
At the top, select “Get Notifications for All Messages.”
Right below, right-click on the “Channel name.”
Select “View channel details” and set the desired notification.
From the top navigation bar, click the “Integrations” tab and click on “Send emails to this channel.”
If this is a new channel, click the “Get Email Address” button. If it is restricted, ask an administrator for added permissions.
Copy the email address to the clipboard.
Log into the Service Manager.
Create a new user on the Access Management screen. You can assign any name to this user. It should be assigned the role of Viewer as this is a notifications-only setup.
Next, paste in the email address copied in the previous step. Make sure the Alert Emails option is toggled. Click the Add User below.
The activation email for this new user will be sent to the Slack channel. Go back to the channel; there should be an invitation email from Redis Cloud.
Click on the message to expand it out, and accept the invitation by clicking the Join Redis button.
Establish a password.
…And done! Redis Cloud alerts should now be enabled in Slack.
Test the settings to verify everything is in order and get started on your app performance optimization team strategies.